summaryrefslogtreecommitdiff
path: root/mediabrowser/templates/watch.html
diff options
context:
space:
mode:
Diffstat (limited to 'mediabrowser/templates/watch.html')
-rw-r--r--mediabrowser/templates/watch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediabrowser/templates/watch.html b/mediabrowser/templates/watch.html
index db7ab6e..369fe59 100644
--- a/mediabrowser/templates/watch.html
+++ b/mediabrowser/templates/watch.html
@@ -69,7 +69,7 @@
var hls = new Hls(config);
hls.on(Hls.Events.MANIFEST_LOADED, function(event, data) {
// test if url contains authentication (http://user:pass@host/)
- var authUrl = /(http?:\/\/)[^\/]*@([^\/]+\/.*)/.exec(data.url)
+ var authUrl = /(https?:\/\/)[^\/]*@([^\/]+\/.*)/.exec(data.url)
if (authUrl) {
// redirect to same page without authentication.
// hls.js fails otherwise in src/utils/url.js #buildAbsoluteURL()