Use the HTML DOM to assign an "onplaying" event to a video element.
Video courtesy of Big Buck Bunny.
Play, pause and then play the video again.