FIX : Pausing playback in Jukebox mode not working #541
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
function onStart() {
|
||||
if (CastPlayer.castSession) {
|
||||
CastPlayer.playCast();
|
||||
} else if ($('#audioPlayer')) {
|
||||
} else if ($('#audioPlayer').get(0)) {
|
||||
var audioPlayer = $('#audioPlayer');
|
||||
if(audioPlayer.paused) {
|
||||
skip(0, audioPlayer.currentTime);
|
||||
@@ -187,7 +187,7 @@
|
||||
function onStop() {
|
||||
if (CastPlayer.castSession) {
|
||||
CastPlayer.pauseCast();
|
||||
} else if ($('#audioPlayer')) {
|
||||
} else if ($('#audioPlayer').get(0)) {
|
||||
$('#audioPlayer').get(0).pause();
|
||||
} else {
|
||||
playQueueService.stop(playQueueCallback);
|
||||
|
||||
Reference in New Issue
Block a user