Availability Per Account Type

Trial

Lite

Pro

White Label

WL – Custom

Introduction

You will be able to use the Region_Lock_Player() functionto show/hide your player depending on if it is allowed to be viewed in a certain group of countries.

Notes:

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 to show up.

Sample Code – Click to expand / collapse

Step 3.  Log into your EZWebPlayer account and grab your player’s JavaScript embed code.

Step 4.  Replace the line from Step 2 that saysPlayer Embed Code Here with your player code.

Sample Code – Click to expand / collapse

Region_Lock_Player() – Pass it 2 variables.

D‘Container’The value of the Div’s ID attribute containing the player’s embed code.
R[‘US’, ‘CA’]An array containing a or group of regions/countries IS02 short code values that can be found on http://www.fao.org/countryprofiles/iso3list/en/# allowed to see this player.

Resulting Player