Skip to content

Commit

Permalink
Support alternative m3u8 content type
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed May 1, 2017
1 parent 1ca2fc1 commit ee07012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/videojs5.hlsjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Html5HlsJS(source, tech) {

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

if (source.skipContribHlsJs) {
Expand Down

0 comments on commit ee07012

Please sign in to comment.