Application collectors
ExCo Media Player
v2.6.0 • For the Javascript Collector
The ExCo Media Player Extension is a configuration option for the Javascript Collector by Datazoom that makes the following additional data points automatically collectable in real time.
Integration Instructions
Datazoom provides plugins for data collection through our Beacon Services. Integrate the Ex.Co player plugin into your web application with the following snippet: Insert this JS line into your HTML Replace the This inserts Datazoom's data collection SDK into the page. To activate data collection for an Ex.Co player instance, create a Datazoom context which references the player instance with the following snippet: For example: If the data collection must be stopped for any reason, for example after the destruction of the corresponding player instance, invoke the We have made it convenient to manage your Ex.Co Player Collector integration by providing NPM (Node Package Manager) support. https://www.npmjs.com/package/@datazoom/collector_exco Plugin Integration
1<script src='https://platform.datazoom.io/beacon/v1/config?configuration_id=CONFIG_ID'></script>CONFIG_ID value with the collector configuration ID.Activate Data Collection for a Ex.Co player
1datazoom_context = datazoom.createContext(exco_player);1// Derive the player instance2const player = window.ExCoPlayer.connect('<PLAYER_ID>');34// Create context for tracking the player instance5const datazoom_context = datazoom.createContext(player);67// Start playback ... etc.8player.init({/* options */});9...10player.play();Stop Data Collection
destroy() method of the Datazoom context object as in the following example:1if (player) {2 player.destroy();3 player = null;4}56if (datazoom_context) {7 datazoom_context.destroy();8 datazoom_context = null;9}NPM (Node Package Manager)
References:
Ad Frameworks Extensions
If your Javascript application has a media player with an ad framework, Datazoom’s Javascript Collector with a ExCo Media Player can be extended with the following ad framework extensions.
Supported Data Points
Events
Discrete occurrences driven by user interactions or system actions
Metadata
Attributes
User
Fluxdata
Metrics measuring changing parameters over time
-
Bandwidth
-
Buffer Start Recency (Content Session)
-
Content Buffer Start Recency (Content Session)
-
Content Media Request Count (App Session)
-
Content Media Request Recency (Content Session)
-
Content Milestone Recency (Content Session)
-
Content Pause Duration (Content Session)
-
Content Playback Duration (Content Session)
-
Content Playback Start Count (App Session)
-
Content Playback Start Recency (Content Session)
-
Content Session Start Timestamp
-
Heartbeat Recency (Content Session)
-
Pause Duration (Content Session)
-
Pause Recency (Content Session)
-
Playback Duration (Content Session)
-
Playback Rate
-
Player State
- Playhead Position