- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Attached is a block of code that you can copy and paste into a JavaScript Code Extension. If you need help adding a JavaScript Code Extension see this post:
https://community.tealiumiq.com/t5/Tealium-iQ/JavaScript-Code-Extension/ta-p/11925
Once pasted into the JavaScript code extension there are two configuration fields at the very top of the code that you can customize: video_events and milestone_percentages.
This extension code will wait until the thePlatfrom player has been defined then run through the necessary functions to attach the listeners.
*** Though the code has logic to wait for the player to be defined, the JavaScript Code extension where you paste the code should be scoped to DOM Ready. ***
This code will output a set of data sources that you can add in the UI and then use to send data to your tag vendors.
The variables are as follows:
Attached is a csv file with these variables and descriptions for easy uploading into the Data Sources tab of the Tealium UI.
NOTE: This code will trigger the utag.link function instead of vendor specific code like the SiteCatalyst Media Module. The thought behind calling utag.link is then you'll have another extension that will determine when to call the Media Module functions so this extension is more "plug and play" with less customizations.
Data Sources Upload thePlatform Video Extension
Copyright All Rights Reserved © 2008-2023