Chapters
What you learn
You're instantiating DIVA Player in your web front-end 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 with chapters.
Before starting
-
Ensure the DIVA Back Office instance you rely on is up and running.
-
Ask your video engineers team the
<video id>and the related<settings URL>. -
Ensure the settings file contains the
isCommentaryFilteredByChapterfield:"settings": {"general": {"isCommentaryFilteredByChapter": true}}Possible values are:
false: Commentary not filtered by chapterstrue(default in case the settings file doesn't contain the field above): Chapters correspond to commentary items
Note: Even though at settings level chapters are enabled, operators can disable them for specific videos from a DIVA Back Office dedicated page.
Dictionary
Ensure the dictionary file contains the relevant keys.
Instantiation
There's no code to add to the Basic instantiation code.