diff --git a/dashboard-ui/mypreferenceshome.html b/dashboard-ui/mypreferenceshome.html index 510d6b00c0..62db1aca53 100644 --- a/dashboard-ui/mypreferenceshome.html +++ b/dashboard-ui/mypreferenceshome.html @@ -16,6 +16,7 @@ + @@ -30,6 +31,7 @@ + @@ -45,6 +47,7 @@ + @@ -60,6 +63,7 @@ + @@ -100,9 +104,9 @@ -
+
diff --git a/dashboard-ui/scripts/htmlmediarenderer.js b/dashboard-ui/scripts/htmlmediarenderer.js index 6bced7e87d..a2e56e5c74 100644 --- a/dashboard-ui/scripts/htmlmediarenderer.js +++ b/dashboard-ui/scripts/htmlmediarenderer.js @@ -1,4 +1,4 @@ -define([], function () { +define(['browser'], function (browser) { var supportsTextTracks; var hlsPlayer; @@ -123,7 +123,7 @@ // Appending #t=xxx to the query string doesn't seem to work with HLS if (startPositionInSeekParam && currentSrc.indexOf('.m3u8') != -1) { - var delay = browserInfo.safari ? 2500 : 0; + var delay = browser.safari ? 2500 : 0; if (delay) { setTimeout(function () { element.currentTime = startPositionInSeekParam; @@ -193,10 +193,10 @@ var requiresNativeControls = !self.enableCustomVideoControls(); // Safari often displays the poster under the video and it doesn't look good - var poster = !browserInfo.safari && options.poster ? (' poster="' + options.poster + '"') : ''; + var poster = !browser.safari && options.poster ? (' poster="' + options.poster + '"') : ''; // Can't autoplay in these browsers so we need to use the full controls - if (requiresNativeControls && AppInfo.isNativeApp && browserInfo.android) { + if (requiresNativeControls && AppInfo.isNativeApp && browser.android) { html += '