diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 378983521c..079dcc5a74 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -524,8 +524,10 @@ // HLS must be at the top for safari // Webm must be ahead of mp4 due to the issue of mp4 playing too fast in chrome + var requiresControls = $.browser.msie || $.browser.android || $.browser.iphone || $.browser.ipad; + // Can't autoplay in these browsers so we need to use the full controls - if ($.browser.msie || $.browser.android || $.browser.iphone || $.browser.ipad) { + if (requiresControls) { html += '