Application Overview – The New Vehicle Player Express (NVPExpress) is an online application that consumes a dynamic web service provided by UnityWorks! Media to display new vehicle videos for dealerships.
Integration - SWFObject v1.0The 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/NVPExpress/NewVehiclePlayerExpress.swf?ctx=###",
"NewVehiclePlayer", "520", "366", "1", "#666666");
flashMovie.addParam("allowFullScreen", "true");
flashMovie.addParam("swfLiveconnect", "true");
flashMovie.addParam("wmode", "transparent");
flashMovie.addParam("allowscriptaccess", "always");
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 &
HEIGHT 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 Express Client Preferences” below for options.
New Vehicle Player Express 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/NVPExpress/NewVehiclePlayerExpress.swf?ctx=###&Option=Attribute"
Options and Attributes -
| Options |
Variable |
Default Values |
Description |
| Width & Height Resizing |
width/height |
520x366 |
Resizes application. |
| 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