From f1d2aef048908c137b49fe58be2e621e48e4d97e Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Wed, 26 Mar 2014 13:41:49 -0400 Subject: [PATCH] Don't assume only mimetype available for matching --- src/js/media/html5.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/media/html5.js b/src/js/media/html5.js index 2bcaad62d..55e330919 100644 --- a/src/js/media/html5.js +++ b/src/js/media/html5.js @@ -269,8 +269,8 @@ vjs.Html5.canControlVolume = function(){ // HTML5 Feature detection and Device Fixes --------------------------------- // (function() { var canPlayType, - mpegurlRE = /^application\/(?:x-|vnd\.apple\.)mpegurl$/i, - mp4RE = /^video\/mp4$/i; + mpegurlRE = /^application\/(?:x-|vnd\.apple\.)mpegurl/i, + mp4RE = /^video\/mp4/i; vjs.Html5.patchCanPlayType = function() { // Android 4.0 and above can play HLS to some extent but it reports being unable to do so