Skip to content

Commit

Permalink
Don't assume only mimetype available for matching
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Mar 26, 2014
1 parent 0c856ce commit f1d2aef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/media/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1d2aef

Please sign in to comment.