Bridgeworks™ Tutorial


In this tutorial we will create a simple project that has an html page that contains the Bridgeworks™ player.

Creating the main html page

  • Launch the text editor of your choice. Create a file called default.html and paste the following content:
  • The object tag defines the parameters for the Bridgeworks™ player including the codebase, scene, width, and height.
    • codebase references the path to latest version of the Bridgeworks™ player.
    • scene is a path to the Bridgeworks™ xml file that defines a Bridgeworks™ scene (e.g. value=”./BwContent/myFirstBwScene.xml”). Leaving its value empty, as we have done here, will load the Bridgeworks™ player onto the page without a scene.
    • width, currently set to 500, specifies the width (in pixels) of the Bridgeworks™ player.
    • height, currently set to 500, specifies the height (in pixels) of the Bridgeworks™ player.

So far we have defined the bare minimum required to load the Bridgeworks™ player onto a webpage. The following is what the page should look like in a web browser:

Bridgeworks Screenshot