Web Player
Getting started
Player Developer Guide
Introduction
This article provides information on how to get some basic data needed for use within TargetVideo Player JavaScript API calls.
Some important information that you may need to get started with API usage
In many examples of the API you will need a player ID, video ID and a site/partner ID. To get these values for your account please follow these steps noted below.
Get the partner ID
To get the partner ID that you can use with the API follow these steps:
Log in to the CMS.
Pick your site in the site menu at the top of the page (it reads MANAGE VIDEOS until a site is selected).
Click the cogwheel icon next to the site’s name.
In the API section, the value shown as API partner id is the ID to use in API calls.
Get a player ID
To get a player ID that you can use with the API follow these steps:
Log in to the CMS.
Pick your site in the site menu at the top of the page (it reads MANAGE VIDEOS until a site is selected).
Open Players > Player List in the left-hand menu.
Under each player’s name you’ll see “ID: XXXXX” — that is the player ID.
Get a video ID
To get a video ID that you can use with the API follow these steps:
Log in to the CMS.
Pick your site in the site menu at the top of the page (it reads MANAGE VIDEOS until a site is selected).
Your video list opens.
Under each video’s name you’ll see “Video ID: XXXXX” — that is the video ID.