Fixed audio player not pausing when switching to chromecast.

master
Eusmilis 8 years ago
parent 51b8571415
commit d3c71fbb9b
  1. 1
      libresonic-main/src/main/webapp/WEB-INF/jsp/playQueueCast.jsp

@ -121,6 +121,7 @@
var position = -1; var position = -1;
if (!$('#audioPlayer').get(0).paused) { if (!$('#audioPlayer').get(0).paused) {
position = $('#audioPlayer').get(0).currentTime; position = $('#audioPlayer').get(0).currentTime;
$('#audioPlayer').get(0).pause();
} }
this.setCastControlsVisible(true); this.setCastControlsVisible(true);

Loading…
Cancel
Save