This article provides a reference to all available JWX JavaScript API calls.
You can use the following resources to help you understand, implement, and explore examples of the JW8 JavaScript API.
- For an introduction to JW8's API, read our JavaScript API overview.
- For more in-depth instructions on implementation, see read Add a web player to a site.
- To see example code for each API call, visit our JWX Demos and search by call.
The events in this reference use the on listener. However, it is also possible to register or remove each event with on, once, or off, or register custom events with trigger.
The following timeline illustrates the core subset of events, in chronological order, that are fired by a player configured to play on-demand videos with captions, audio tracks, casting, and advertising. The event order and the events that fire may differ for players configured differently.

Core subset of events, in a timeline, fired for a player that has been configured to play on-demand videos, with captions, audio tracks, casting, and advertising
Events Index
The following table lists all the available events organized by category.
| SETUP | ||
| ALL | ||
| ADVERTISING | ||
| AUDIO TRACKS | ||
| BUFFER | ||
| CAPTIONS | ||
| CAST | ||
| CONTROLS | ||
| FLOATING PLAYER | ||
| METADATA | ||
| PLAYBACK | ||
| PLAYLIST | ||
| QUALITY | ||
| RELATED | ||
| RESIZE | ||
| SEEK | ||
| SHARING | ||
| VIEWABILITY | ||
| VOLUME | ||
