Nine Percent Milk

    @datazoom/collector_videojs

    2.2.0 • Public • Published

    Video.js

    Introduction

    Datazoom is a high availability real-time data collection solution. This document summarizes how to integrate with the Datazoom platform.

    Installation

    npm i @datazoom/collector_videojs

    Plugin Initialisation

    datazoom.init({ 
        configuration_id:"CONFIG_ID"
    });

    Note: Replace the CONFIG_ID value with the collector configuration ID.

    Usage

    To activate data collection for THEO instance, create a Datazoom context which references the player instance with the following snippet:

    let playerContext = datazoom.createContext(playerManager);

    Example

    import datazoom from '@datazoom/collector_videojs'
    ...
    let playerContext;
    ...
    datazoom.init({ 
        configuration_id:"CONFIG_ID"
    });
    playerContext = datazoom.createContext(playerManager);

    Install

    npm i @datazoom/collector_videojs

    DownloadsWeekly Downloads

    14

    Version

    2.2.0

    License

    ISC

    Unpacked Size

    50.7 kB

    Total Files

    3

    Last publish

    Collaborators

    • sandhu
    • fajibxminds
    • datazoom-admin