The JavaScript API is available to external developers to integrate applications with the movingimage video player.

With the JavaScript API you can:

  • Add, remove or connect to a player using the VideoPlayerCollection
  • basic player functions such as play, pause or stop a video
  • register functions to player events to collect usage statistics or add interactive functionality

In the following chapters, you will learn the first mandatory steps to be able to perform the above functions.

Please note that when lazy loading is enabled, the Player will not be accessible through the API until a user clicks play. This is an inherent quality of the lazy loading feature, which prevents the Player from loading until a user clicks play. Find more information on lazy loading here.