Availability Per Account Type

Trial

Lite

Pro

White Label

WL – Custom

Introduction

You will be able to use the Get_Views() functionto add your player’s view count to your web page dynamically.

Notes:

  • This is intended to be used for players that are not attached to a channel.

Getting Started

Step 1. Place this script shown below in your website’s header tag. 

Sample Code – Click to expand / collapse

Step 2. Place this script in the body of your web page where you wish the player view count to show up.

Sample Code – Click to expand / collapse

Get_Views() – Pass it 2 variables.

Div ID“P_Views”This will be the span’s ID attribute you want to pass the player’s view count to. In Step 1 & 2 locate “P_Views”. They will need to match.
Video ID“V0000000”You can locate a player’s ID by taking the last section of your player’s Sort URL. This should start with a V and be 7 characters long.

Resulting Player

Views: