mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue where switching from one channel sometimes didnt switch the song
This commit is contained in:
@@ -478,7 +478,11 @@ var Player = {
|
||||
castSession.sendMessage("urn:x-cast:zoff.me", {type: "stopVideo"});
|
||||
} else {
|
||||
try{
|
||||
Player.player.stopVideo();
|
||||
if(videoSource == "soundcloud") {
|
||||
Player.soundcloud_player.pause();
|
||||
} else {
|
||||
Player.player.stopVideo();
|
||||
}
|
||||
} catch(e){}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user