Availability Per Account Type

Trial

Lite

Pro

White Label

WL – Custom

Introduction

You will be able to use the Schedule_Player() functionto manipulate on what days and time the player will be able to be displayed on any given page within your website. 

Notes:

  • The dates are inclusive, which means that the video will play on the target dates as well as all of those dates between the targets.
  • As with any advanced coding procedures, EZWebPlayer Support staff are available to help our White Label customers.

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 players embed code. This will work with the Iframe and Javascript embed codes.

And replace the line from Step 2 that saysPlayer Embed Code Here with your player code.

Sample Code – Click to expand / collapse

Schedule_Player() – Pass it 5 variables.

Container ID“Container”Make sure this matches whatever ID you give to the div surrounding the player embed code.
Start Date“00/00/0000”Make sure to keep the date in this format.Ex: Jan 2 2016 would be “01/02/2016”.
Start Time“00:00:00”Make sure to keep the time in a 24 hour format.Ex: 1:30AM would be “01:30:00”.
End Date“00/00/0000”Make sure to keep the date in this format.Ex: Dec 31 2016 would be “12/31/2016”.
End Time“00:00:00”Make sure to keep the time in a 24 hour format.Ex: 1:30PM would be “13:30:00”.

Resulting Player