mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
parent
e2af322313
commit
bebca9ce0b
@ -81,6 +81,10 @@ export const parseUrl = function(url) {
|
||||
details.host = details.host.replace(/:443$/, '');
|
||||
}
|
||||
|
||||
if (!details.protocol) {
|
||||
details.protocol = window.location.protocol;
|
||||
}
|
||||
|
||||
if (addToBody) {
|
||||
document.body.removeChild(div);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user