We're looking to have a custom plug-in developed for the long tail video player. An API for this video player is available here: [url removed, login to view]
This new plug-in will allow for showing and interacting with content when the video is paused.
When the players pause button is pressed the plug-in will look up the time offset and then grab a series of x/y coordinates using the following format:
ItemID, Time Stamp begin (.000),Time Stamp end(.000), x % offset, y % offset
Icons will be displayed at the appropriate x/y coordinates.
The icon that is displayed will be based on the field type from the following dataset:
<?xml version="1.0" encoding="utf-8"?>
<ShortDescription>2007 BMW 750iL</ShortDescription>
<LongDescription>2007 BMW 750iL|0-60 in 4.5|Top Speed 155 mph</LongDescription>
This file will be called [url removed, login to view]
When a user clicks on an icon, information will appear in a popover preferably done in CSS if possible as this will allow us the most flexibility. The popover will contain information based on the dataset field values.
Two elements of interactivity will be available with the css popover. The ability to email this information with a user provided field prompting them to enter their email address. A buy link that will take the user to a specified web site with the [url removed, login to view] file.
Video Player Setup
There should be Four variables that we pass to the player through the embed code that is passed along to the player, this will contain
xmlFile – the location of the xml file, could be a local location or a remote url address.
userID – This will be a variable for tracking user actions
movieID – This will be a variable for tracking the movieData
trackingServer – a url for sending user event information, if left blank then no stats sent by plugin
debugging – either true or false, defaults to false
The video item position information will be embedded into the flv file itself
If these are not specified the video player will default to calling them from the same directory as the video such as
[url removed, login to view]
[url removed, login to view]
The position information will originally be obtained within a [url removed, login to view] file. This file will be entered into a flv file using adobe CS4 encoder or FLVTool2
PLEASE PROVIDE MORE INFORMATION ABOUT THIS PROCESS.
By doing this we will encode a CUE POINT in the flv file at Zero seconds, which will allow the position information to be available from the very start of the video.
Action on Play
When the user loads or presses play the plug in will send some tracking information to the tracking server url with the following variables
The userID will be the variable set in the embed tag
The videoID will be the variable set in the embed tag
The idemID will be the item id from the [url removed, login to view] file (in this case there is not one yet and it will be blank)
The action should be a string describing the event type, one of the following (play, pause, click, end)
TimeOffset should be grabbed from the video player information in sec (ex. [url removed, login to view])
An example get or post would be:
[url removed, login to view];videoID=3c4d5e6f&itemID=&action=play&timeOffset=[url removed, login to view]
NOTE!!! The event notifications should be sent from a separate thread as to not delay the video player interaction with the user.