Skip to main content

Chapters

What you learn​

You're instantiating DIVA Player in your web front-end and relying on third party video streaming source.

The goal of this article is to build the simplest front-end to stream a video from your video production with chapters.

Before starting​

  • Ensure the video production you rely on is up and running.

  • Set the videoId and the related setting configuration.

  • Ensure the setting contains the isCommentaryFilteredByChapter field:

    "setting": {
    "general": {
    "isCommentaryFilteredByChapter": true
    }
    }

    Possible values are:

    • false: Commentary not filtered by chapters
    • true (default in case the settings file doesn't contain the field above): Chapters correspond to commentary items

Dictionary​

Ensure the dictionary file contains the relevant keys.

Instantiation​

There's no code to add to the Basic instantiation code.