Step by step integration


Install the Retinad package in by running npm install retinad or by downloading it from Github and adding it to the dependencies of the web project.


In the index.html of the project, add the following function and fill in the App ID and Account Key that has been sent by Retinad.

    // Initialise Player
    var player = videojs( '#video-container', {
        techOrder: ['html5']

    //Initialise Retinad Plugin with AppID and AccountKey
        "appId": "APP_ID_HERE",
        "accountKey": "ACCOUNT_KEY_HERE"

Don't have an App ID or Account Key? Send a quick email to

How to use


Each video is treated as what we call a context.
The name of the context refers to the source of the video.