Trying out not skipping for the first 20 seconds of the video

This commit is contained in:
Kasper Rynning-Tønnesen
2015-05-02 11:36:12 +02:00
parent 3f1be7f132
commit f3f9e48956
2 changed files with 8 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ socket.on("toast", function(msg)
case "alreadyskip":
msg=rnd(["Skipping is democratic, only one vote per person!", "More people have to vote to skip, not just you!", "Get someone else to skip too! You can't do it on yourself."])
break;
case "notyetskip":
msg="Skipping is disabled the first 30 seconds of the video.";
break;
}
Materialize.toast(msg, 4000);
});