You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Please note that the videojs.js file needs to be loaded prior to this plugin
-Also this can only be used if you call videojs dynamically
you Call the plugin like this
videojs('video',{plugins:{aoBcTracking:{accountID:'Your brightcove accound id',video:{name:'name of your video',id:'id of your brightcove video'}}}},function(){//declare your sourcethis.src('example.mp4');});
-There is no need to call .play() as the plugin will call that to allow tracking of events.
Options
You need provide to provide it with you BrightCove Id in the accountID value.
Also to allow BrightCove to see what video it is tracking you need to put in the video name and id too.
####events that are tracked
currently this plugin will track:
"player_load",
"video_impression",
"video_view",
"view_engagement" which reports every 10 seconds allowing the collection of engagement data
TODO
Allow custom user tracking to the videos
Track the geoloaction data of the viewer and report it
Implemneted at ao.com
About
Allow you to tracking views and engagement of videos in videojs for Brightcove