mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-01 23:26:18 +00:00
Fix for wrongfully skipping on error
This commit is contained in:
@@ -222,7 +222,8 @@ function getTitle(titt, v)
|
|||||||
|
|
||||||
function errorHandler(newState)
|
function errorHandler(newState)
|
||||||
{
|
{
|
||||||
socket.emit("skip");
|
if(video_id !== undefined)
|
||||||
|
socket.emit("skip");
|
||||||
}
|
}
|
||||||
|
|
||||||
function onPlayerReady(event) {
|
function onPlayerReady(event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user