Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This IRIS.TV Adaptive plugin documentation is specific for the JWPlayer 8.0+ video players. This install requires placing plugins within the page HTML and sending in the specific information for the client and video.

...

Code Block
languagejs
themeConfluence
linenumberstrue
	var player1 = jwplayer('YOUR PLAYER ID').setup({
        primary: 'html5',
        autostart: 'true',
        width: 620,
        height: 400,
        file: '/videos/IYi8sWkK-GftQFOjv.mp4',
        preload: 'none',
        plugins: {
          "https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer8.adaptive.min.js": {
            settings: {
              player_id: 'YOUR PLAYER ID',
              client_token: 'YOUR CLIENT TOKEN',
              platform_id: 'YOUR INITIAL VIDEO ID',
              player_version: 'jwplayer8',
              ssl: true,
              start_up_next: true,
              end_up_next: true,
              disable_mobile_upnext: false,
            },
            global: "iris",
            jwCMS: true,
            iris_buttons: {}
          }
        }
    });

    player1.once("playready", function(){
      loadIrisPlugin(player1, player1.getConfig().plugins["https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer8.adaptive.min.js"])
    })

...

Code Block
"enable_context_ads" : true,
"carousel_recs" : true
  • The publisher must then set up targets to the different “context” values provided by IRIS.TV

To Send Contextual segments through "categories":

...

  • Add the following in the HTML config for your JW Player implementation:
Code Block
"enable_contextcategory_ads" : true,
"carousel_recs" : true
  • The publisher must then set up targets to the different “categories” values provided by IRIS.TV