Page History: New Vehicle Player Classic - Integration :: SWFObject v1.0
Compare Page Revisions
Page Revision: 2008/10/08 17:23
Application Overview – The New Vehicle Player (NVP) is an online application that consumes a dynamic web service provided by UnityWorks! Media to display new vehicle videos for dealerships.
Integration - The segment below will demonstrate a typical NVP integration from UnityWorks! Media as a SWFObject v1.0.
<SCRIPT src="http://www.dealervideos.com/xspfPlayer/swfObject.js" type=text/javascript></SCRIPT>
<DIV id="flashcontent" align="center"></DIV>
<SCRIPT type=text/javascript>
var flashMovie = new SWFObject("http://www.dealervideos.com/newcars/DrillDown.swf?ctx=###",
"NewVehiclePlayer", "###", "550", "1", "#666666");
flashMovie.addParam("wmode", "transparent");
flashMovie.write("flashcontent");
</SCRIPT>
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.
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/xspfPlayer/xspfPlayer.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