Skip to content

Commit

Permalink
fix regex ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbar42 committed May 4, 2017
1 parent 8953fc6 commit 9a48b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/videojs5.hlsjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ function Html5HlsJS(source, tech) {
hls.loadSource(source.src);
}

var hlsTypeRE = /^application\/(x-mpegURL|vnd\.apple\.mpegURL)$/i;
var hlsExtRE = /\.m3u8/i;

var HlsSourceHandler = {
canHandleSource: function(source) {
var hlsTypeRE = /^application\/(x-mpegURL|vnd\.apple\.mpegURL)$/i;
var hlsExtRE = /\.m3u8/i;

if (source.skipContribHlsJs) {
return '';
}
Expand Down

0 comments on commit 9a48b4d

Please sign in to comment.