|
@@ -793,11 +793,8 @@ const youtubeReady = () => {
|
|
true
|
|
true
|
|
);
|
|
);
|
|
canAutoplay.value = true;
|
|
canAutoplay.value = true;
|
|
- if (stationPaused.value)
|
|
|
|
|
|
+ if (stationPaused.value || localPaused.value)
|
|
youtubePlayer.value.pauseVideo();
|
|
youtubePlayer.value.pauseVideo();
|
|
- else if (localPaused.value) {
|
|
|
|
- resumeLocalStation();
|
|
|
|
- }
|
|
|
|
} else if (
|
|
} else if (
|
|
event.data === window.YT.PlayerState.PLAYING &&
|
|
event.data === window.YT.PlayerState.PLAYING &&
|
|
(localPaused.value || stationPaused.value)
|
|
(localPaused.value || stationPaused.value)
|