Skip to content

Commit

Permalink
Merge pull request #24 from Peer5/mrbar42-patch-1
Browse files Browse the repository at this point in the history
fix regex ref
  • Loading branch information
mrbar42 committed May 4, 2017
2 parents 8953fc6 + 9a48b4d commit db1abb8
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 db1abb8

Please sign in to comment.