mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-10 16:19:54 +00:00
6 lines
184 B
JavaScript
6 lines
184 B
JavaScript
var player = document.getElementById('player');
|
|
player.src = decodeURI(location.hash).replace(/^#/,'');
|
|
console.log('playing mpd stream: ' + player.src);
|
|
player.load();
|
|
player.play();
|