UnityWorks! Media Wiki
Navigation
Main Page
Categories
All Pages
Login/Logout
Your Profile
Create Account
Language Selection
Create a new Page
Administration
File Management
Quick Search
Advanced Search »
Back
History
New Vehicle Player Classic - Integration :: SWFObject v1.0
'''<font color="black">Application Overview – </font>''' 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. '''<font color="black">Integration - SWFObject v1.0</font>''' 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=<font color="green">'''###'''</font>", "NewVehiclePlayer", "<font color="brown">'''###'''</font>", "550", "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 <font color="green">'''CTX'''</font> variable locations. Other values such as <font color="brown">'''WIDTH'''</font> 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 <font color="green">"New Vehicle Player Client Preferences”</font> below for options. '''<font color="#000000">New Vehicle Player Client Preferences – </font>''' These options must to be inserted before the “allowFullScreen” code line and only after the “SWF Object” code line within the snippet above. <center>(((flashMovie.addVariable('''“Option”,”Attribute”''');))) or as an addition to the location string... ((("http://www.dealervideos.com/newcars/DrillDown.swf?ctx=###'''&Option=Attribute'''"))) </center> '''<font color="black">Options and Attributes - </font>''' <table border="1" cellpadding="5"> <tr> <td bgcolor="#CCCCCC"><font color="brown">'''Options'''</font></td> <td bgcolor="#CCCCCC"><font color="brown">'''Variable'''</font></td> <td bgcolor="#CCCCCC"><font color="brown">'''Default Values'''</font></td> <td bgcolor="#CCCCCC"><font color="brown">'''Description'''</font></td> </tr> <tr> <td>'''Width Resizing'''</td> <td>width (Not a vailable option)</td> <td>900</td> <td>Resizes application width.</td> </tr> <tr> <td>'''Team configuration'''</td> <td>CTX</td> <td>N/A</td> <td>Application configuration.</td> </tr> <tr> <td>'''Tab Recognition'''</td> <td>tabFilter</td> <td>N/A</td> <td>Activates specific tab. *</td> </tr> <tr> <td>'''Video Recognition'''</td> <td>vidFilter</td> <td>N/A</td> <td>Launches specific video. *</td> </tr> <tr> <td>'''Make Filter'''</td> <td>makeFilter</td> <td>N/A</td> <td>Removes/Adds specific tabs.</td> </tr> <tr> <td>'''DisplayUWLogo'''</td> <td>true / false</td> <td>true</td> <td>Display of the UnityWorks! Media Logo.</td> </tr> <tr> <td>'''Dubug'''</td> <td>true / false</td> <td>false</td> <td>Debug mode.</td> </tr> </table> (*) Video Recognition utilizes Tab Recognition to function correctly
2008
UnityWorks!
Media