mirror of
https://github.com/SuperBFG7/ympd
synced 2025-05-22 09:04:08 +00:00
Fix player
This commit is contained in:
parent
80eee8c2b1
commit
6fac9a2824
@ -1,5 +1,5 @@
|
|||||||
var mpdstream = decodeURI(location.hash).replace(/^#/,'');
|
var player = document.getElementById('player');
|
||||||
player.src = mpdstream;
|
player.src = decodeURI(location.hash).replace(/^#/,'');
|
||||||
console.log('playing mpd stream: ' + player.src);
|
console.log('playing mpd stream: ' + player.src);
|
||||||
player.load();
|
player.load();
|
||||||
player.play();
|
player.play();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user