1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-28 11:50:26 +00:00
ympd/htdocs/js/player.js
jcorporation 4fdacde42a Fixed local player
- separated js from html
- no cookies
2018-06-20 23:00:46 +01:00

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();