Skip to main content

Media lists

What you learn​

You're instantiating DIVA Player in your app and relying on DIVA Back Office as the video streaming source.

The goal of this article is to build the simplest front-end to stream a video from the DIVA Back Office. That video comes with some related video lists that front-end users can explore through the DIVA Player menu.

Before starting​

  • Ensure the DIVA Back Office instance you rely on is up and running.
  • Set the <video id> and the related <settings URL>.
  • Get read-and-write access to the VideoMetadata file.

Defining media lists​

See medialists definition.

Instantiation​

Write the Basic instantiation code. There's no additional code to write, unless you need to manipulate the media list and insert it after the changes.

On Android, use DivaExtraParams.videoMetaDataMap to construct and inject MediaList items at runtime.