1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-11-06 00:33:00 +00:00

Fixed local player

- separated js from html
- no cookies
This commit is contained in:
jcorporation
2018-06-20 23:00:46 +01:00
parent 39e963804e
commit 4fdacde42a
4 changed files with 18 additions and 16 deletions

5
htdocs/js/player.js Normal file
View File

@@ -0,0 +1,5 @@
var mpdstream = decodeURI(location.hash).replace(/^#/,'');
player.src = mpdstream;
console.log('playing mpd stream: ' + player.src);
player.load();
player.play();