Player Events

Topics: HTML5 web
Feb 14, 2012 at 4:01 PM
Edited Feb 14, 2012 at 4:04 PM

Hi there is some sample code that shows how to capture the player events?

 

Thanks in advance

Feb 14, 2012 at 4:42 PM

Use the addEventListener function:

player.addEventListener("play", function () { ... }, false);