Different easter egg video

This commit is contained in:
Kasper Rynning-Tønnesen
2015-05-06 14:35:07 +02:00
parent d54f6c2c68
commit 07eeeb4cc2

View File

@@ -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 (){
}
}
}
});