Embed: re-enabled websocket mode

This commit is contained in:
Cat 2020-04-07 13:51:56 +02:00
parent 091926a963
commit bf4d100742
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -900,7 +900,7 @@ function MistVideo(streamName,options) {
}); });
} }
if (false) { if ("WebSocket" in window) {
function openSocket() { function openSocket() {
MistVideo.log("Opening stream status stream.."); MistVideo.log("Opening stream status stream..");
var url = MistVideo.options.host.replace(/^http/i,"ws"); var url = MistVideo.options.host.replace(/^http/i,"ws");