@misterben/brightcove-chapter-cues
v0.4.1
Published
Populate player chapter menu from Video Cloud cue points
Downloads
1
Readme
brightcove-chapter-cues
Plugin for the Brightcove Player to create a chapters track from cue points set in Video Cloud. The chapters button will then be displayed.
Table of Contents
Installation
Add the plugin script to the player configuration.
- Plugin name:
chapterCues
. - Javascript URL*: https://cdn.jsdelivr.net/npm/@misterben/brightcove-chapter-cues/dist/brightcove-chapter-cues.min.js (or a self hosted version)
Options
cueName
Chapters are generated only from cue points with this name so as not to conflict with cues added for another reason.
The default is chapter
.
Usage
- Add the plugin to a player.
- Add cue points to a video in Video Cloud - see Brightcove documentation.
- The time should be the chapter's start time. The end time is inferred as the next chapter cue or the end of the video.
- The name must be
chapter
, or the value you set for thecueName
option. - The metadata should be the text label for the chapter.
- There must be at least two chapters for the chapters menu to show.
License
MIT. Copyright (c) mister-ben <[email protected]>