Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added note about lazy loading.

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.

 


Info

This documentation refers to the movingimage Player version 5. This version of player is enabled by default in the VideoManager Pro. If you have the VideoManager 6 and are not sure which version of the player you have in use, please contact movingimage support.

 


Note

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.