Script Embed

To do a script based embed, instead of making any changes in the Brightcove Dashboard, you just need to add a script to the embed page.

The standard embed code you obtain from Brightcove is of the format

<video data-video-id="6002067727001"
data-account="6001673525001"
data-player="default"
data-embed="default"
data-application-id
class="video-js"
controls></video>
<script src="//players.brightcove.net/6001673525001/default_default/index.min.js"></script>

To add videoken controls to the above embed, add a script just after the original embed code so that the final embed code looks like the following.

<video data-video-id="6002067727001"
data-account="6001673525001"
data-player="default"
data-embed="default"
data-application-id
class="video-js"
controls></video>
<script src="//players.brightcove.net/6001673525001/default_default/index.min.js"></script>
<script src="https://content.videoken.com/players/brightcove.js"></script>

Below is a sample embedded video using the above method.