Virtools Web Player

Technical Information for Webmasters

  • Version: 3.5.0.32
  • Posted on: April 03, 2006

How to Insert a Virtools Composition (VMO file) into a Web Page Using Akamai Server Netstorage Technology to Install the Virtools Web Player More Quickly

Embed the following HTML element into your HTML document, specifying:
  • the VMO's URL (relative or absolute path) and
  • the VMO's window size in pixels.

  • Use this HTML tag to enable Akamai technology in order to install the Virtools Web Player more quickly.

    <OBJECT
        CLASSID="CLSID:D4323BF2-006A-4440-A2F5-27E3E7AB25F8"
        ID="Virtools" WIDTH="320" HEIGHT="240"
        CODEBASE="http://a532.g.akamai.net/f/532/6712/5m/virtools.download.akamai.com/6712/player/install3.5/installer.exe#version=3,5,0,32">
        <PARAM NAME="SRC" VALUE="http://www.yoursite.com/path/yourcomposition.vmo">
        <EMBED
            SRC="http://www.yoursite.com/path/yourcomposition.vmo"
            TYPE="application/x-virtools"
            PLUGINSPAGE="http://player.virtools.com/"
            WIDTH="320" HEIGHT="240"
            NAME="Virtools">
        </EMBED> 
    </OBJECT>
    

    IMPORTANT: HIGHLY RECOMMENDED : For using Akamai Netstorage for installing the Virtools Web Player in Netscape/Mozilla/Firefox browsers, download these two javascript files TestNPVirtools3.5.js and DetectBrowser.js (right-click on each link and choose "Save Link as") to test for the Virtools Web Player on visitors' computers. Using this Javascript in addition to the HTML tag above assures that the Web Player's delivery is 100% Akamaized for your visitors, even if the Virtools server is momentarily inaccessible.
    Look at the comments at the top of each file for instructions on how to implement them in your web pages.

    NOTE: To avoid activating the Virtools web composition in INTERNET EXPLORER 6 by clicking on its window, you need to externalize the HTML Tag that calls the Virtools web composition. (Until the Virtools web composition window has been activated, peripheral input devices (keyboards, mouse, joystick, etc) will not be active in the Virtools composition.)

    In your web page, the <script> tag replaces the traditional Virtools Web HTML Tag:
    <html>
      <body>
        <script src="vtembed.js">
        </script>
      </body>
    </html>			
    

    The external file "vtembed.js" contains:

      document.writeln("<OBJECT");
      document.writeln("CLASSID=\"CLSID:D4323BF2-006A-4440-A2F5-27E3E7AB25F8\"");
      document.writeln("ID=\"Virtools\" WIDTH=\"400\" HEIGHT=\"300\"");
      document.writeln("CODEBASE=\"http://a532.g.akamai.net/f/532/6712/5m/virtools.download.akamai.com/6712/player/install3.5/installer.exe#version=3,5,0,32\">");
      document.writeln("<PARAM NAME=\"SRC\" VALUE=\"http://www.yoursite.com/path/yourcomposition.vmo\">");
      document.writeln("<EMBED");
      document.writeln("SRC=\"http://www.yoursite.com/path/yourcomposition.vmo\"");
      document.writeln("TYPE=\"application/x-virtools\"");
      document.writeln("PLUGINSPAGE=\"http://player.virtools.com/\"");
      document.writeln("WIDTH=\"400\" HEIGHT=\"300\"");
      document.writeln("NAME=\"Virtools\">");
      document.writeln("</EMBED> ");
      document.writeln("</OBJECT>");
    
    Items in bold need to be edited for your content.