Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
The Popcorn 101 demo with Instapoppin' (no JS skills required).
<!DOCTYPE html>
<html>
<head>
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script>
<script src="http://toolness.github.com/instapoppin/instapoppin.js"></script>
</head>
<style>
.footnote { visibility: hidden; }
.footnote.active { visibility: visible; }
</style>
<body>
<video height="180" width="300" autoplay>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.mp4"></source>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.ogv"></source>
<source src="http://videos.mozilla.org/serv/webmademovies/popcornplug.webm"></source>
</video>
<div class="footnote" data-active-during="2-6">Pop!</div>
</body>
</html>

ilkin35 commented Mar 9, 2016

sallam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment