diff --git a/static/main.js b/static/main.js index 686da11..27576f6 100644 --- a/static/main.js +++ b/static/main.js @@ -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")); + } +} diff --git a/templates/index.html b/templates/index.html index 168cc9f..6b60f2b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -60,6 +60,8 @@
+ +