Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Current »

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

1. Paste the following within your JWPlayer player settings:

   plugins:{
        "https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer.adaptive.min.js":{
            settings: {
				'client_token':<CLIENT_TOKEN>, 
            	'platform_id':<PLATFORM_ID>,
				'player_id':<PLAYER_ID>,
        		'start_up_next': true,
        		'end_up_next': true
				}, 
			iris_buttons: {
   				 'thumbs_up': true, 
    			 'thumbs_down': true, 
    		     'skip_forward': true, 
    		     'skip_back': true, 
                 'skip_on_thumbs_down': true 
  				}
			jwCMS: <BOOLEAN>
        } 
    },
    events: {
          onReady: function(){
            var playerInstance = jwplayer(<PLAYER_ID>);
            loadIrisLibrary(playerInstance, playerInstance.getConfig().plugins['https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer.adaptive.min.js']);
          }
        }
    }


If the player page will be loaded via HTTPS then an additional parameter will be required, "ssl": true.

settings: {
				'client_token':<CLIENT_TOKEN>, 
            	'platform_id':<PLATFORM_ID>,
				'player_id':<PLAYER_ID>,
				'ssl': true
				}, 


Any additional IRIS.TV plugin settings should be added to the “settings” object. 

The following are required:

<client_token> is a value provided by IRIS.TV after the publisher’s content has been imported. This token is used to authenticate the asset library.

<jwCMS> boolean value to indicate whether you are using the JW CMS to store video files.

<platform_id> is the GUID of the initial asset. The GUID is taken from the publisher’s content feed and is the initial video's unique ID.

<player_id> HTML element ID of the player div used to instantiate the JWplayer. it is the ID for the player.

Once the above is complete you are ready to test your player.


Configuration

For more information about customizable settings and features, please see: Adaptive Plugin Customizations

  • No labels