Popcorn.js project. Upstream to mozilla project, origin with additions for personal projects