Created
August 30, 2014 13:03
-
-
Save vasilisvg/a31d1d7a097246fd5784 to your computer and use it in GitHub Desktop.
Prevent the playbook from falling asleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// What? This: | |
if(isset($_GET["loop"])) { | |
?> | |
<style> | |
video[autoplay][loop]{ | |
width:1px; | |
position:absolute; | |
} | |
</style> | |
<video autoplay loop src="small-file.mp4"></video> | |
<script> | |
document.querySelector("title").innerHTML = " "; | |
</script> | |
<?php | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment