Merge branch 'dev' of github.com:nixolas1/Zoff into dev

This commit is contained in:
Nicolas A. Tonne
2015-04-16 13:15:57 +02:00
2 changed files with 32 additions and 12 deletions

View File

@@ -64,7 +64,8 @@ socket.on(chan.toLowerCase()+",np", function(obj)
}
if(!paused)
ytplayer.playVideo();
ytplayer.seekTo(seekTo);
if(ytplayer.getDuration() > seekTo)
ytplayer.seekTo(seekTo);
}
});