switch back to 1080p and removed teaser
This commit is contained in:
@@ -21,10 +21,10 @@ header("Pragma: no-cache");
|
|||||||
</header>
|
</header>
|
||||||
<section id="timelaps">
|
<section id="timelaps">
|
||||||
<video id="timelapsvid" loop preload >
|
<video id="timelapsvid" loop preload >
|
||||||
<!-- <source class="240p" src="videos/timelaps-240p.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="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="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="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">
|
<source class="1080p" src="videos/timelaps-1080p.mp4?nocache=<?php echo time(); ?>" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -24,18 +24,18 @@ $(document).ready(function() {
|
|||||||
console.log("Init");
|
console.log("Init");
|
||||||
|
|
||||||
// teasing
|
// teasing
|
||||||
var now = Date.now();
|
// var now = Date.now();
|
||||||
var opening = new Date("2016-07-02T18:30");
|
// var opening = new Date("2016-07-02T18:30");
|
||||||
// console.log(now);
|
// // console.log(now);
|
||||||
// console.log(limit.getTime());
|
// // console.log(limit.getTime());
|
||||||
if( window.location.hostname == "centipede.hehe.org" && now < opening.getTime()){
|
// if( window.location.hostname == "centipede.hehe.org" && now < opening.getTime()){
|
||||||
$('body').addClass('teasing');
|
// $('body').addClass('teasing');
|
||||||
setTimeout(function(){
|
// setTimeout(function(){
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
},1000*60);
|
// },1000*60);
|
||||||
}else{
|
// }else{
|
||||||
loadData();
|
loadData();
|
||||||
}
|
// }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user