Setup

Before authoring any annotations do the following:

  • Ensure the HapYak Plugin for Brightcove is setup on a Brightcove player.
  • Create a Brightcove Playlist containing multiple videos. Publish the playlist (using the player configured with the plugin) to your web page, CMS, LMS, or click Preview for a temporary URL.
  • IMPORTANT: Note the URL where the playlist has been published. You will need this in order to test the branching functionality.
  • Play through each video in the playlist for a few seconds. This will auto-create a Project in HapYak for each video.

Annotation Types

Branching choice points can be created with any annotation that supports a Link including: Text, Hotspot, Image and OnTime annotations. These annotations will be used to navigate between videos in the playlist.

Authoring a Choice Point

1. Add a Text, Hotspot, Image, or OnTime annotation.

2. When editing the annotation select the "Link" option from the menu.

3. Enter "bcplaylist" into the field labeled “Addon Type”

4. In the “Command” input box, specify one of the following properties: go, next, or prev

OR

OR

5. If using the go Command, add additional “Addon Command Data” by clicking the “Add Another Property” (See examples below)

OR

6. If you would like to skip to a specific time in the next video in your playlist, click "Add Another Property." The key of the property you should add is 'time,' and the value is the number of seconds into the next video that you want to skip, as in the image below: 

7. Click Submit and then Done.

8. Use the URL where you have published the Playlist (see Setup) in order to view the implementation and test the functionality.

IMPORTANT: Branching functionality for Brightcove is not active in the HapYak embed code or HapYak preview page. You will only be able to verify your implementation using the Brightcove Playlist directly.

Link to a video in the playlist using the position of the video in the playlist as the key.

Addon Type: "bcplaylist"

Command: "go"

Key: "pos"

Value: "[POSITION OF VIDEO IN PLAYLIST]"  **note the playlist has a zero based index, the first video in the playlist is at position 0. **

Link to a video in the playlist using the Title of the video as the key.

Addon Type: "bcplaylist"

Command: "go"

Key: "name"

Value: "[TITLE OF VIDEO]"

Link to a video in the playlist using the Brightcove video ID as the key.

Addon Type: "bcplaylist"

Command: "go"

Key: "id"

Value: "[BRIGHTCOVE VIDEO ID]"

Example - Go to the Next Video

Link to the next video in the playlist.

Addon Type: "bcplaylist"

Command: "next"

Key: n/a

Value n/a

Example - Go to the Previous Video

Link to the previous video in the playlist.

Addon Type: "bcplaylist"

Command: "prev"

Key: n/a

Value n/a

Did this answer your question?