mirror of
https://github.com/SuperBFG7/ympd
synced 2025-09-01 10:17:57 +00:00
Fix player
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var mpdstream = decodeURI(location.hash).replace(/^#/,'');
|
||||
player.src = mpdstream;
|
||||
var player = document.getElementById('player');
|
||||
player.src = decodeURI(location.hash).replace(/^#/,'');
|
||||
console.log('playing mpd stream: ' + player.src);
|
||||
player.load();
|
||||
player.play();
|
||||
|
Reference in New Issue
Block a user