mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
added touch events globally
This commit is contained in:
@@ -199,8 +199,8 @@ $(document).ready(function (){
|
||||
if(pad >= 100)
|
||||
window.location.href = 'https://www.youtube.com/v/0IGsNdVoEh0?autoplay=1&showinfo=0&autohide=1';
|
||||
});
|
||||
|
||||
if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
|
||||
|
||||
/*if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
|
||||
//console.log("android");
|
||||
if(Nochan.getCookie("show_prompt") == ""){
|
||||
var r = confirm("Do you want to download the native app for this webpage?");
|
||||
@@ -214,7 +214,7 @@ $(document).ready(function (){
|
||||
document.cookie = "show_prompt=false;"+expires;
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
git_info = $.ajax({ type: "GET",
|
||||
url: "https://api.github.com/repos/zoff-music/zoff/commits",
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user