Closed csBrightcove closed 4 years ago
Setting arbitrary attributes is not currently support, but you customize anything about the generated embed code via the onEmbedCreated
callback. Something like:
onEmbedCreated(elem) {
elem.setAttribute('data-bc-trackingid', '12345');
}
Does the player-loader support the "data-bc-trackingid" parameter? If so, how do we pass it in? Here is the embedded version for reference:
Background: https://audience.support.brightcove.com/integrations/hubspot/integrating-video-cloud-hubspot-using-client-side-apis.html
Many thanks, Jimmy