switch back to 1080p and removed teaser

This commit is contained in:
Bachir Soussi Chiadmi
2016-07-02 19:13:26 +02:00
parent 3c721780a6
commit d286df29eb
2 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -21,10 +21,10 @@ header("Pragma: no-cache");
</header>
<section id="timelaps">
<video id="timelapsvid" loop preload >
<!-- <source class="240p" src="videos/timelaps-240p.mp4?nocache=<?php echo time(); ?>" type="video/mp4">
<source class="360p" src="videos/timelaps-360p.mp4?nocache=<?php echo time(); ?>" type="video/mp4">
<source class="480p" src="videos/timelaps-480p.mp4?nocache=<?php echo time(); ?>" type="video/mp4">
<source class="720p" src="videos/timelaps-720p.mp4?nocache=<?php echo time(); ?>" type="video/mp4"> -->
<!-- <source class="240p" src="videos/timelaps-240p.mp4?nocache=<?php echo time(); ?>" type="video/mp4"> -->
<!-- <source class="360p" src="videos/timelaps-360p.mp4?nocache=<?php echo time(); ?>" type="video/mp4"> -->
<!-- <source class="480p" src="videos/timelaps-480p.mp4?nocache=<?php echo time(); ?>" type="video/mp4"> -->
<!-- <source class="720p" src="videos/timelaps-720p.mp4?nocache=<?php echo time(); ?>" type="video/mp4"> -->
<source class="1080p" src="videos/timelaps-1080p.mp4?nocache=<?php echo time(); ?>" type="video/mp4">
</video>
</section>
+11 -11
View File
@@ -24,18 +24,18 @@ $(document).ready(function() {
console.log("Init");
// teasing
var now = Date.now();
var opening = new Date("2016-07-02T18:30");
// console.log(now);
// console.log(limit.getTime());
if( window.location.hostname == "centipede.hehe.org" && now < opening.getTime()){
$('body').addClass('teasing');
setTimeout(function(){
window.location.reload();
},1000*60);
}else{
// var now = Date.now();
// var opening = new Date("2016-07-02T18:30");
// // console.log(now);
// // console.log(limit.getTime());
// if( window.location.hostname == "centipede.hehe.org" && now < opening.getTime()){
// $('body').addClass('teasing');
// setTimeout(function(){
// window.location.reload();
// },1000*60);
// }else{
loadData();
}
// }
};