Another try to fix the WM2018 buttons...

This commit is contained in:
Martin Müller 2018-06-20 17:10:47 +02:00
parent 1a46e547c0
commit 1ac45886e9
2 changed files with 2 additions and 4 deletions

View File

@ -269,6 +269,4 @@ function wm2018(channel) {
} else if (channel === "zdf") {
ajaxRequest("/?video=https://www.zdf.de/sender/zdf/zdf-live-beitrag-100.html");
}
return false;
}

View File

@ -60,8 +60,8 @@
<form>
<label for="video">Stream URL</label>
<input id="streaming-url" type="text" name="video" placeholder="paste stream url here..." />
<button onclick="wm2018('ard');">⚽️ WM 2018: ARD</button>
<button onclick="wm2018('zdf');">⚽️ WM 2018: ZDF</button>
<button onclick="wm2018('ard');return false;">⚽️ WM 2018: ARD</button>
<button onclick="wm2018('zdf');return false;">⚽️ WM 2018: ZDF</button>
</form>
<button onclick="playStream();">Play!</button>
</div>