mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Different easter egg video
This commit is contained in:
@@ -87,13 +87,13 @@ $(document).ready(function (){
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
var pad = 0;
|
||||
document.getElementById("zicon").addEventListener("click", function(){
|
||||
pad+=10;
|
||||
document.getElementById("zicon").style.paddingLeft = pad+"%";
|
||||
if(pad >= 100)
|
||||
window.location.href = 'https://www.youtube.com/v/mK2fNG26xFg?autoplay=1&showinfo=0&autohide=1';
|
||||
window.location.href = 'https://www.youtube.com/v/0IGsNdVoEh0?autoplay=1&showinfo=0&autohide=1';
|
||||
});
|
||||
if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
|
||||
//console.log("android");
|
||||
@@ -111,6 +111,6 @@ $(document).ready(function (){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user