To host presentations from your own server you need:
- access to your server (to copy files and configure HTTP server)
- your own copy of ORBITVU VIEWER (you have to buy the license or use the ORBITVU VIEWER Free360)
- 360° presentations
- some technical knowledge on HTML and server administration
- you have to understand what is ORBITVU PRESENTATION and what is ORBITVU VIEWER.
- Copy ORBITVU VIEWER to your server (copy orbitvu12/ folder)
- Configure your web server to serve files from orbitvu12/ directory (make sure these are publicly accessible under some URL, e.g.: http://yourdomain.com/orbitvu12/)
- Copy Presentations to your server (usually you'll use some FTP client)
- Configure your web server to serve presentation files under some publicly accessible URLs, e.g.: http://yourdomain.com/presentations/
- Server configuration
- Add Access-Control-Allow-Origin *; header to both VIEWER and Presentations URLs to avoid possible CORS (Cross-origin resource sharing) issues
- Add crossdomain.xml file to the domain used to serve presentation files in order to avoid Flash security issues, e.g. https://mydomain.com/crossdomain.xml
- Create web pages that are using your ORBITVU VIEWER and your presentations URLs (see below for details)
You might also want to get and configure SSL certificate for your domain which is required e.g. if you'll want to add Facebook integration.
Web page coding
- Load ORBITVU VIEWER helper scripts
You can add scripts to the <head> section of the page.
- Create container element for the presentation
Create a container element that your presentation will be inserted to. It is necessary to set the unique id for this container.
If you want to have multiple presentations at your page then just create container with unique id for each of these
- Initialize presentation
id of the container element
URLs to ORBITVU VIEWER files (hosted at your server)
URL to the presentation directory (hosted at your server)
Set to yes if there is content2.xml file in your presentation’s directory, otherwise set to no or remove
Other ORBITVU VIEWER parameters. For more see parameters reference.
Helper script has to be loaded BEFORE you call inject_orbitvu
If you have multiple presentations at your page then you need to call inject_orbitvu for each of them
You might want to call inject_orbitvu inside onready event handler
Take care of setting proper DOCTYPE for your page especially for Internet Explorer