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:

  1. Login into the CMS.
  2. Select a site under the MANAGE VIDEOS option on the main left-hand menu.
  3. Click on a small cogwheel icon next to the websites name.
  4. In the API section, you will find your website ID which can be used in the API calls.

Get a player ID

To get a player ID that you can use with the API follow these steps:

  1. Login into the CMS.
  2. Select a site under the MANAGE VIDEOS option on the main left-hand menu.
  3. Select the PLAYERS section on the main left-hand menu.
  4. Under each player name in the list you will see "Player ID: XXXX" where you can get your player ID.

Get a video ID

To get a video ID that you can use with the API follow these steps:

  1. Login into the CMS.
  2. Select a site under the MANAGE VIDEOS option on the main left-hand menu.
  3. You will be redirected to your video list.
  4. Under each video name in the list you will see "VIdeo ID: XXXX" where you can get your video ID.