Commit 4c3ea079 by Josh McLaughlin

Fix regex to check for HTML5 video urls which contain parameters

parent a1419b15
...@@ -286,7 +286,7 @@ function(VideoPlayer, i18n, moment, _) { ...@@ -286,7 +286,7 @@ function(VideoPlayer, i18n, moment, _) {
*/ */
function extractHLSVideoSources(state) { function extractHLSVideoSources(state) {
return _.filter(state.config.sources, function(source) { return _.filter(state.config.sources, function(source) {
return /\.m3u8$/.test(source); return /\.m3u8(\?.*)?$/.test(source);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment