forked from server/soundboard
Add buttons for soccer world championship 2018
This commit is contained in:
parent
5fcf58ccb2
commit
834966bbe8
@ -262,3 +262,11 @@ function killAllAudio() {
|
||||
ajaxRequest("/?killvideo=yes");
|
||||
}
|
||||
}
|
||||
|
||||
function wm2018(channel) {
|
||||
if (channel === "ard") {
|
||||
ajaxRequest("/?video="+encodeURI("https://www.ardmediathek.de/tv/live?kanal=208"));
|
||||
} else if (channel === "zdf") {
|
||||
ajaxRequest("/?video="+encodeURI("https://www.zdf.de/sender/zdf/zdf-live-beitrag-100.html"));
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,6 +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>
|
||||
</form>
|
||||
<button onclick="playStream();">Play!</button>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user