Popcorn.js is an HTML5 media framework written in JavaScript for filmmakers, web developers, and anyone who wants to create time-based interactive media on the web. Popcorn.js is part of Mozilla’s Popcorn project.
https://popcorn.webmaker.org/templates/basic/
http://popcornjs.org/popcorn-101