update components

This commit is contained in:
Luke Pulverenti 2016-04-30 00:02:36 -04:00
parent 78e572f2fc
commit 038bf83aef
20 changed files with 160 additions and 25 deletions

View file

@ -77,11 +77,18 @@ define(['browser'], function (browser) {
// Unfortunately there's no real way to detect mkv support
if (browser.chrome) {
var userAgent = navigator.userAgent.toLowerCase();
// Not supported on opera tv
if (browser.operaTv) {
return false;
}
// Filter out browsers based on chromium that don't support mkv
if (userAgent.indexOf('vivaldi') != -1 || userAgent.indexOf('opera') != -1) {
return false;
}
return true;
}