Application Overview –The Stand Alone Player (XSPF Player) is an online application that consumes a dynamic web service provided by Unity Works Media to display a flowing video content experience.
Integration – SWFObject v1.0The segment below will demonstrate a typical integration email sent from UnityWorks! Media as a SWFObject v1.0.
<SCRIPT src="http://www.dealervideos.com/xspfPlayer/swfObject.js" type=text/javascript></SCRIPT>
<div id="flashContent">
<SCRIPT type=text/javascript>
var flashMovie = new SWFObject("http://www.dealervideos.com/xspfPlayer/xspfPlayer.swf?
ctx=###&vid=###","xspfPlayer", "###", "###", "6", "#FFFFFF");
flashMovie.addParam("allowFullScreen", "true");
flashMovie.addParam("swfLiveconnect", "true");
flashMovie.addParam("wmode", "transparent");
flashMovie.addParam("allowscriptaccess", "always");
flashMovie.write("flashContent");
</SCRIPT>
</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 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/xspfPlayer/xspfPlayer.swf?ctx=###&vid=###&Option=Attribute"
Options and Attributes– XSPFPlayer v3.0 - Options and Features