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
<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
datazoom_context = datazoom.createContext(exco_player);
// Derive the player instance
const player = window.ExCoPlayer.connect('<PLAYER_ID>');
// Create context for tracking the player instance
const datazoom_context = datazoom.createContext(player);
// Start playback ... etc.
player.init({/* options */});
...
player.play();
Stop Data Collection
destroy() method of the Datazoom context object as in the following example:if (player) {
player.destroy();
player = null;
}
if (datazoom_context) {
datazoom_context.destroy();
datazoom_context = null;
}
NPM (Node Package Manager)
References:
Supported Data Points
Events
Discrete occurrences driven by user interactions or system actions
Metadata
Attributes
User
Fluxdata
Metrics measuring changing parameters over time
-
Bandwidth
-
Content Session Start Timestamp
-
Number of Content Plays
-
Number of Content Requests
-
Pause Duration
-
Pause Duration - Content
-
Playback Duration
-
Playback Duration - Content
-
Playback Rate
-
Player State
-
Playhead Position
-
Time Since Content Request
-
Time Since Content Started
-
Time Since Last Buffer Start
-
Time Since Last Buffer Start - Content
-
Time Since Last Heartbeat
-
Time Since Last Milestone - Content
- Time Since Last Pause