Skip to main content

Integrated Web Server

This is the documentation for Pano2VR 4. You can find the new documentation for Pano2VR 5 here.

However, this document is still valid for the current version of Object2VR!

Both Pano2VR and Object2VR have a local web server built in to the software. It simulates an active web server so you can view your project locally because both Flash and HTML5 restrict local viewing for security reasons. You can also simulate slower connections to see how a project might download and play back.

This tip will explain how to set up and use the server.

Download Video

Web Server Settings[edit]

The settings for the web server can be found under Settings for Windows and Linux and Preferences for Mac OS.



When the window opens, find the section labeled, Web Server:

Web server 02.jpg

Using the Integrated Web Server[edit]

In both Object2VR and Pano2VR, the integrated web server default settings are set to be used when viewing the output within an HTML page. It was included to allow local viewing of the HTML5 output (something which some browsers do not allow).

Clicking the Open output file button in the output section of the main project window will open the file using the computer's default web browser.

To view the output in another web browser simply copy the local address and paste it in the required web browser.

Web server 01.jpg

Other machines and devices connected to the same network can also view the output without having to upload it to a server. For a connected device to view the files, deselect Only local host under Network access in the program's Settings or Preferences. Then follow the following steps to test the output on something other than the local host:

  1. With either Object2VR or Pano2VR open, choose Tools > Integrated Web Server.
    The web server window opens with the local address needed to enter in the device's web browser. In the image below, two addresses are displayed. This is because there are two servers on the network. Either web address would work.

    Web server 03.jpg

  2. Enter the address in the web browser of any device.

    Web server 04.jpg

    Locations of all open projects will be displayed; here, there is only one.

    Web server 05.jpg

  3. Click on the link to display the project's folder contents which will include any subfolders, HTML pages and images.

    Web server 06.jpg

  4. This project is using the file name index for its HTML page. To open the output click on the file index.html

    Web server 07.jpg

    The operation and function of the project can now be tested before being uploaded.

See also[edit]

w:List of TCP and UDP port numbers
Preferences (Object2VR)
Preferences (Pano2VR)
HTML5 Output (Object2VR)
HTML5 Output (Pano2VR)
Flash Output (Object2VR)
Flash Output (Pano2VR)