Have ideas to improve npm?Join in the discussion! »

@misterben/brightcove-chapter-cues

0.3.0 • Public • Published

brightcove-chapter-cues

Plugin for the Brightcove Player to create a chapters track from cue points set in Video Cloud.

Table of Contents

Installation

Add the plugin script to the player configuration. The name is chapterCues. The script may be delivered from a CDN such as

https://cdn.jsdelivr.net/npm/@misterben/brightcove-chapter-cues/dist/brightcove-chapter-cues.min.js

Options

cueName

Chapters are generated only from cue points with this name. Default 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 the cueName 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 <git@misterben.me>

Install

npm i @misterben/brightcove-chapter-cues

DownloadsWeekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

56.7 kB

Total Files

17

Last publish

Collaborators

  • avatar