Chapters
What you learn
You're instantiating DIVA Player in your Android 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
<videoId>,<settingsURL>,<languageCountryCode>,<userToken>and<sharedKey>. -
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.
Instantiation
There's no code to add to the Basic instantiation code.