YOUBORA Analytics Plugin

Use the Player V4 Nice People At Work (NPAW) YOUBORA plugin (youbora.min.js) to track NPAW YOUBORA quality of service (QoS) analytics for Ooyala Player V4. For general information about YOUBORA integration, see Ooyala QoS Solution Powered by NPAW's YOUBORA.

Run-time Flow During Playback

During playback, a playback event triggers notification about the event to YOUBORA Analytics.

Supported Players

The Player V4 YOUBORA Analytics plugin supports integrating YOUBORA Analytics with the Ooyala HTML5 web player versions 4.6.9 and above.


Prior to enabling the Ooyala QoS Solution powered by YOUBORA, you must have a customer relationship with NPAW with an account for YOUBORA.


If you want to track bitrate information for analytics purposes, you must use one of the following video plugins: The HLS and MP4 Main video plugin (main_html5.min.js) does not report bitrate information.

Step 1: Load the YOUBORA Plugin

To add the YOUBORA plugin to your player, use one of the following URLs to load the plugin (in addition to the player files):
Because NPAW maintains the YOUBORA Analytics plugin for Player V4, use one of these links to load the latest version.
Note: Unlike other Player V4 plugins, it is not recommended that you try to host this plugin yourself.
Here are some examples of how to load this in the <head> section of your web page:
How to Load Using Example
Hardcoded HTTP
<script src=""></script>
Hardcoded HTTPS
<script src=""></script>
Protocol of the page from which it is being called
<script src="//"></script>

Step 2: Specify Page-level Parameters

As with other Player V4 plugins, you need to specify the YOUBORA parameters within the playerparams variable that is passed in during player creation (see Embedded Parameters for Player V4).
var playerParams = {
   "youbora": {
          // accountCode is required
       "accountCode": "myCode",
       // other optional YOUBORA params
    OO.ready(function() {
       window.pp = OO.Player.create('playerDiv', 'myVideoEmbedCode', playerParams);
You can specify the following parameters. Refer to the YOUBORA product documentation for additional information about each parameter.
Parameter Data Type Description
accountCode {string} Required. Provided by NicePeopleAtWork. Specifies to YOUBORA Analytics the customer account to which the data is sent.
username {string} User account associated with your system. Used to identify your users within YOUBORA Analytics. For details, see the YOUBORA product documentation
transactionCode {string} Specifies to YOUBORA Analytics a transaction code. This is a general purpose string that can be used to filter users when sorting through collected data on the YOUBORA Analytics platform. Typically, NPAW recommends using a parameter the customer can correlate with its content management system (CMS) or paid transactions. Examples: purchaseCode, sessionCode, and so on. For details, see the YOUBORA product documentation.
parseHLS {boolean} Configures YOUBORA's parsing HLS algorithm. One of the following values:
  • parseHLS = true enables the parsing HLS algorithm
  • parseHLS = false disables the parsing HLS algorithm
For details, see the YOUBORA product documentation.
parseCDNNodeHost {boolean} Configures YOUBORA's CDN Node detection. One of the following values:
  • parseCDNNodeHost = true enables CDN Node detection
  • parseCDNNodeHost = false disables CDN Node detection
For details, see the YOUBORA product documentation.
extraparams {object} Supplemental, custom parameters to pass into the plugin to help with filtering the gathered data in YOUBORA Analytics. You can specify up to ten parameters using the keyname pattern paramN, where N is a number 1 - 10. The values represent the data that you want to sent to YOUBORA. On YOUBORA's site, you map what each key means (for example, param1 means one thing, param2 means something else, and so on).
extraParams: {
   param1: 'param1',
   param2: 'param2',
   param3: 'param3',
   param4: 'param4',
   param5: 'param5',
   param6: 'param6',
   param7: 'param7',
   param8: 'param8',
   param9: 'param9',
   param10: 'param10'
For details, see the YOUBORA product documentation.


  <title>NPAW YOUBORA Example</title>
  <!-- V4 JS core is required. Plugins such as skin, discovery and Advertising need to be loaded separately -->
  <script src="url_where_hosted/core.min.js"></script>
  <script src="url_where_hosted/html5-skin.min.js"></script>
  <link rel="stylesheet" href="url_where_hosted/html5-skin.min.css" />
  <!-- A Video Plugin is required. This example shows the Bitmovin Plugin -->
  <script src="url_where_hosted/bit_wrapper.min.js"></script>
  <!-- YOUBORA plugin -->
  <script src="//"></script>
    <div id="container" style="width:640px; height:360px;"></div>
        var playerParam = {
            "pcode": "YOUR_PCODE",
            "playerBrandingId": "YOUR_PLAYER_ID",
            "skin": {
            // Config contains the configuration setting for player skin. Change to your local config when necessary.
            "config": "//",
                "youbora": {
                "username": "user1",
                "transactionCode": "payingCustomer",
                "parseHLS": false,
                "parseCDNNodeHost": false,
        OO.ready(function() {
        window.pp = OO.Player.create("container", "YOUR_ASSET_ID", playerParam);

Was this article helpful?