UnityWorks! Media Wiki

Page History: XSPFPlayer v3.0 - External Interface

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2008/10/14 15:27


Application Overview –

The Stand Alone Player (XSPF Player) is an online application that consumes a dynamic web service provided by UnityWorks! Media to display a flowing video content experience.

Javascript External Interfaces – The XSPF Player Stand Alone has the capability of being controlled through javascript as an external interface. Functions such as play, stop and pause may be called through a user action or an event. The following example will give you a basic idea how this connectivity works as we use html input button objects.

XSPF Player Stand Alone - External Interfaces Example

Javascript/Player Available Commands –

To allow this to work correctly, the called must be made by pointing to the location of the swf object holder and use the following call:

flashCall('command');


Function Example Code Description
play Rollover 384 x 288
stop Rollover 320 x 240
pause Rollover 480 x 360
contactHost +30 pixels 384 x 318
contactUWM +30 pixels 320 x 270

2008 UnityWorks! Media