Page History: New Vehicle Player Classic - Integration :: SWFObject v2.0
Compare Page Revisions
Page Revision: 2008/10/09 15: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.0The 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: "###" };
swfobject.embedSWF("http://www.dealervideos.com/newcars/DrillDown.swf",
"NewVehiclePlayer", "###", "550", "9.0.0",null, flashvars,
{'wmode':'transparent','allowscriptaccess':'always','allowFullScreen':'true','swfLiveConnect':'true'},
"NewVehiclePlayer");
</script>
<div id="NewVehiclePlayer"></div>
Video content is determined by the values generated by UnityWorks! Media. These values are assigned to the
CTX variable locations. Other values such as
WIDTH can be adjusted by the host. The version of this application does not allow height alterations.
Integration will vary upon the specific request. However, attributes can be altered at the HTML level of the script. See
"New Vehicle Player Client Preferences” below for options.
New Vehicle Player Client Preferences – These options must to be inserted within the flashvars variable within the javascript code as noted below:
var flashvars = { ctx: "###", option:"attribute" };
Options and Attributes -
| Options |
Variable |
Default Values |
Description |
| Width Resizing |
width |
900 |
Resizes application width. (Not an Option) |
| 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