mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed deletionthingy
This commit is contained in:
@@ -28,17 +28,16 @@ customMessageBus.onMessage = function(event) {
|
||||
}
|
||||
break;
|
||||
case "stopVideo":
|
||||
if(!loading) player.stopVideo();
|
||||
player.stopVideo();
|
||||
break;
|
||||
case "pauseVideo":
|
||||
if(!loading) player.pauseVideo();
|
||||
player.pauseVideo();
|
||||
break;
|
||||
case "playVideo":
|
||||
if(!loading) player.playVideo();
|
||||
player.playVideo();
|
||||
break;
|
||||
case "seekTo":
|
||||
if(!loading) player.seekTo(json_parsed.seekTo);
|
||||
else seekTo = json_parsed.seekTo;
|
||||
player.seekTo(json_parsed.seekTo);
|
||||
break;
|
||||
case "nextVideo":
|
||||
nextVideo = json_parsed.videoId;
|
||||
|
||||
Reference in New Issue
Block a user