~hristoast/hristoast

e889a81072a5918ad692459572b1f91382b8fe84 — Hristos N. Triantafillou 1 year, 7 months ago 4031323
No stream controls when it's off
2 files changed, 2 insertions(+), 1 deletions(-)

M site/js/stream.js
M site/video/stream.html
M site/js/stream.js => site/js/stream.js +1 -0
@@ 28,6 28,7 @@ function loadHLS() {
        if (request.status >= 200 && request.status < 400) {
            stat.textContent = "The stream is live!";
            stat.style.color = "green";
            video.controls = "on";
            video.title = "This is the video live stream.  Refresh the page if you have playback issues.";

            if (Hls.isSupported()) {

M site/video/stream.html => site/video/stream.html +1 -1
@@ 5,4 5,4 @@

<h3 id="stat" class="bold center red">The stream is currently offline!</h3>

<video id="stream" controls poster="/i/soon.jpg" title="This is where the stream is shown when it's live."></video>
<video id="stream" poster="/i/soon.jpg" title="This is where the stream is shown when it's live."></video>