Revert "Another try to fix the WM2018 buttons..."

This reverts commit 1ac45886e9ab09540977690a1d3dd8d572bc160a.
This commit is contained in:
Martin Müller 2018-07-30 14:56:33 +02:00
parent 1ac45886e9
commit 347f4a7f52
2 changed files with 4 additions and 2 deletions

View File

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

View File

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