added touch events globally

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-27 17:39:32 +01:00
parent 4a8bcb58a5
commit ed30633482
7 changed files with 10 additions and 12 deletions

View File

@@ -3,10 +3,7 @@ var Playercontrols = {
initYoutubeControls: function(player)
{
if(window.mobilecheck()){
console.log(window.mobilecheck())
console.log($("#controls"));
$("#controls").appendTo("#playbar");
//$("#controls").remove();
}
setInterval(Playercontrols.durationSetter, 1000);
Playercontrols.initControls();