UnityWorks! Media Wiki

Page History: New Vehicle Player Classic - Integration :: SWFObject v2.0

Compare Page Revisions



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


Page Revision: 2008/10/08 17:31


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'},{'SWLIVECONNECT':'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).

New Vehicle Player Client Preferences –

These options must to be inserted before the “allowFullScreen” code line and only after the “SWF Object” code line within the snippet above.

flashMovie.addVariable(“Option”,”Attribute”);

or as an addition to the location string...

"http://www.dealervideos.com/newcars/DrillDown.swf?ctx=###&Option=Attribute"


Options and Attributes -

Options Variable Default Values Description
Width Resizing width 900 Resizes application width.
Team configuration CTX N/A Application configuration.
Tab Recognition tabFilter N/A Activates specific tab. *
Video Recognition vidFilter N/A Launches specific video. *
Make Filter makeFilter N/A Removes/Adds specific tabs.
DisplayUWLogo true / false true Display of the UnityWorks! Media Logo.
Dubug true / false false Debug mode.
(*) Video Recognition utilizes Tab Recognition to function correctly

2008 UnityWorks! Media