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:
5
htdocs/js/player.js
Normal file
5
htdocs/js/player.js
Normal 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();
|
||||
Reference in New Issue
Block a user