Customizing ORBITVU SUN embed codes
There are two main things to consider:
- container element of the presentation and it’s id
This is the element that presentation will be inserted into. Usually, it is a div element that you have to place somewhere on your page. Default id of container element is:
<div id="ovContent-myuid" class="orbitvu-container"></div>
You might want to use your own id instead of the default one.
The default name of inject function is:
If using the same presentation multiple times on single page you must have this name unique for each presentation. You might also want to have the inject function called on demand, not immediately on page load.
An Example of adding viewer_uid=myuid parameter:
Below you'll find a list of available parameters
Default: <UID> - uid of ORBITVU SUN presentation
If you set this parameter to myuid the name of the inject function will be: inject_viewer_myuid and id of the referenced container element will be ovContent-myuid. You have to change id of the container element in your HTML code.
If you want to delay the moment presentation is injected into the page then you can set viewer_delayed to yes and then call inject function by yourself when you need. The default name of the inject function is: inject_viewer_<UID>, but can be changed with viewer_uid parameter.
Values: yes | no
If you have your own VIEWER license, e.g. for a customised VIEWER look, then you can use it with Orbitvu SUN. You have to visit your Orbitvu SUN account preferences and upload your custom VIEWER (zip archive). Since then you can add custom_viewer=yes to embed codes to use your viewer.
Values: yes | no