mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-18 11:34:47 +00:00
4fdacde42a
- separated js from html - no cookies
6 lines
163 B
JavaScript
6 lines
163 B
JavaScript
var mpdstream = decodeURI(location.hash).replace(/^#/,'');
|
|
player.src = mpdstream;
|
|
console.log('playing mpd stream: ' + player.src);
|
|
player.load();
|
|
player.play();
|