Skip to content

Commit 1ae16b6

Browse files
committed
Restrict VP9 experiment to Chrome >= 48.
1 parent 814615a commit 1ae16b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

static/js/services/constraints.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
hdVideo: isChrome || (isFirefox && version >= 38),
203203
// Chrome supports this on Windows only.
204204
renderToAssociatedSink: isChrome && $window.navigator.platform.indexOf("Win") === 0,
205+
vp9: isChrome && version >= 48,
205206
chrome: isChrome,
206207
firefox: isFirefox,
207208
edge: isEdge

static/partials/settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
</div>
271271
</div>
272272

273-
<div class="form-group">
273+
<div class="form-group" ng-show="supported.constraints.vp9">
274274
<label class="col-xs-4 control-label">{{_('Prefer VP9 video codec')}}</label>
275275
<div class="col-xs-8">
276276
<div class="checkbox">

0 commit comments

Comments
 (0)