Added option for autoplay in embed

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-27 17:45:34 +01:00
parent a9a7709b30
commit 5539fcc394
8 changed files with 30 additions and 13 deletions

View File

@@ -65,6 +65,14 @@ var Playercontrols = {
}
},
play_pause_show: function()
{
if(document.getElementById("pause").className.split(" ").length == 1)
$("#pause").toggleClass("hide");
if(document.getElementById("play").className.split(" ").length == 2)
$("#play").toggleClass("hide");
},
settings: function()
{
$("#qS").toggleClass("hide");