﻿window.onload = function () {
    let videoImage = document.getElementById('video_image');
    videoImage.src = `ws://${document.domain}:8080/?action=stream`;
};
﻿window.onload = function () {
    let videoImage = document.getElementById('video_image');
    videoImage.src = `http://${document.domain}:8080/?action=stream`;
};
Fix video stream trying to use the wrong protocol
Fix video stream trying to use the wrong protocol
