UnityWorks! Media Wiki

XSPF Player Stand Alone - Integration :: SWFObject v2.0

Modified: 2009/10/14 20:52 by admin - Categorized as: Integration
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.

Integration – SWFObject v2.0

The segment below will demonstrate a typical integration email sent from UnityWorks! Media as a SWFObject v2.0.

<script type="text/javascript" src="http://www.dealervideos.com/scripts/swfobject.js"></script>
<script type="text/javascript">
var flashvars = { ctx:"###",  vid:"###" };
swfobject.embedSWF("http://www.dealervideos.com/xspfPlayer/xspfPlayer.swf",
"xspfPlayer", "###", "###", "9.0.0",null, flashvars, {'wmode':'transparent','allowscriptaccess':'always','allowFullScreen':'true','swfLiveConnect':'true'}, "xspfPlayer"); </script> <div id="xspfPlayer"></div>

Video content is determined by the values generated by UnityWorks! Media. These values are assigned to the CTX and VID variable locations. Other values such as HEIGHT and WIDTH will be adjusted by the predetermined content.

Integration will vary upon the specific request. However, attributes can be altered at the HTML level of the script. See "Stand Alone Client Preferences” below for options. (Inserting cid pid vid data is supported if the complete xspf path is added. Please contact UnityWorks! Media for additional details).

Stand Alone Client Preferences –

These options must to be inserted within the flashvars variable within the javascript code as noted below:

var flashvars = { ctx: "###", vid: "###", Option: "Attribute"};


Options and Attributes–

XSPFPlayer v3.0 - Options and Features

2008 UnityWorks! Media