Skip to content

Instantly share code, notes, and snippets.

@toolness
Created October 15, 2011 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toolness/1290242 to your computer and use it in GitHub Desktop.
Save toolness/1290242 to your computer and use it in GitHub Desktop.
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
Copy link

ilkin35 commented Mar 9, 2016

sallam

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