1. Help
  2. Assets
  3. How to link Anchor in Video asset

How to link Anchor in Video asset

This tutorial will explain how to enable, create and implement anchors on a video asset. Anchoring is a great way to divide your video asset into various sections and link each section with HTML code for your webpage.

Enable Anchor Option

To enable the Anchor option please follow the steps below:

  1. Go to Dashboard

  2. Click on Global settings

  3. Look for the option “USE THIS OPTION TO CHANGE VIDEOS ANCHOR BEHAVIOUR”

  4. Choose Anchor behavior from the drop-down menu

 
Create Anchors on video assets with Chapters

To create anchor points in a video asset; you must divide it by Chapters (under on-asset options).

Chapters are created on video assets via the following steps:

  1. Go to Assets

  2. Click on the Video Asset on which you want to create chapter/anchor-points

  3. Click on Chapters

  4. Choose anchor Time and Title

  5. Click Save

Get anchor URL for HTML link

Once the video asset has been customized with chapters now it’s time to get the anchor link.

To get the Anchor link please follow the steps below:

  1. Go to the Video Asset with chapters via the Gallery/Account site

  2. Click on the Chapter (the desired anchor in the video)

  3. Copy the Anchor URL from the browser’s address bar

Change default video chapter to play in HTML embed code
In order to change the default video/chapter to play in video asset with chapters, the code from lines 5 to 11 from the following screenshot should be added after the embed code and the number next goTo should be changed corresponding chapter number to play in the beginning of the video.
Code snippet
<script>
cincopa.registeredFunctions.push({
func: function (name, data, gallery) {
cincopa.getGalleryById(“cp_widget”).playerAPI.goTo(2);
}, filter: “api.ready”
});
</script>

Was this article helpful?