load method

Description

Load a content see the API documentation page on loading a content for more information.

Syntax

// Without options
player.load(url);

// With options
player.load(url, {
  startingPosition: initialWantedPosition,
});
  • arguments:

    1. url string: Url to the Multivariant Playlist of the content you want to play.

    2. options Object: Optional argument to configure how the content will be loaded.

      Can contain the following keys:

Page List