add load() before play() for mobile safari
</div>
</div>
- <audio id="player" preload="none" src="http://mpd:8000/mpd.ogg"></audio>
+ <audio id="player" preload="none" src="http://mpd:8000/"></audio>
<div class="btn-group">
<button type="button" class="btn btn-default" onclick="clickLocalStop()">
<span id="stop-icon" class="glyphicon glyphicon-stop"></span>
function clickLocalPlay() {
var player = document.getElementById('player');
- player.src='http://mpd:8000/mpd.ogg';
+ player.src='http://mpd:8000/';
+ player.load();
player.play();
$("#localvolumeslider").slider(player.volume*100);
}