video + timeline are synchronized

This commit is contained in:
Bachir Soussi Chiadmi
2016-07-01 18:02:28 +02:00
parent 24e070d7f3
commit 835cc3ecee
6 changed files with 164 additions and 55 deletions
+12 -7
View File
@@ -1,3 +1,8 @@
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
<!DOCTYPE html>
<html>
<head>
@@ -13,13 +18,13 @@
<header id="header">
<h1>Lot Explorer</h1>
</header>
<section id="pictures">
<video id="video" autoplay poster="">
<!-- <source class="240p" src="videos/timelaps-240p.mp4" type="video/mp4">
<source class="360p" src="videos/timelaps-360p.mp4" type="video/mp4">
<source class="480p" src="videos/timelaps-480p.mp4" type="video/mp4">
<source class="720p" src="videos/timelaps-720p.mp4" type="video/mp4"> -->
<source class="1080p" src="videos/timelaps-1080p.mp4" type="video/mp4">
<section id="timelaps">
<video id="timelapsvid" loop preload autoplay>
<!-- <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>
<!-- // pictures -->