From a5a41a16433ba9db03c0d262f26a06a0d5d94f1f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 10 Jul 2013 08:37:14 -0400 Subject: [PATCH] added version number to apiclient --- dashboard-ui/scripts/mediaplayer.js | 10 ++++++++-- dashboard-ui/scripts/site.js | 3 +-- 2 files changed, 9 insertions(+), 4 deletions(-) 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 += '