THEOplayer 2.X Demo: Using Events

This page demonstrates how you hook to player events with the THEOplayer API. With events, you can create custom logic, such as logging a message when an ad starts, or exporting data to a remote server when someone presses the fullscreen button.  

With THEOplayer you can hook to all kind of events: player events, ad events, text track events, media track events, ...

Below a few of these events are illustrated. Select an event to see how you could implement it. Disable your adblocker if you want to check the adbegin event. Enable a text track if you want to check the enter event.

Detected events

Time Event Data