Setting up Orion to work with JWPlayer
Below you will find the steps in order of how they should be completed with links to the sections below going into more detail.
Steps
Have the module enabled
Please let the Spiny team know before proceeding so we can enable this integration's module for your bundle. Once enabled you can proceed with this integration.
Update Player Options
Once the Spiny team has updated your bundle you will need to add the Pandora JWP Plugin to your player options when instantiating JWP Video Players. Example below.
const playerOptions = {
// Your video player options
playlist: "https://cdn.jwplayer.com/v2/media/hWF9vG66", // For example only
plugins: {
"//cdn-ext.spiny.ai/spec/jwp/pandora-jwp.js": {},
// Any existing plugins
}
};
const player = jwplayer("myElement").setup(playerOptions);
This will allow Orion to register your player instances and perform all necessary reporting.
Spiny Team Review
Once completed please add these changes to a staging site for our team to confirm and once approved please deploy the changes to your production environments.