set Popcorn duration to 20sec on start:

Use Baseplayer to emulate the HTML5 video element