Orbitvu Public Support Site

How to customize ORBITVU VIEWER with parameters

Updated on

ORBITVU VIEWER behaviour can be customised in many ways using parameters. Parameters can be applied to JavaScript code or embed codes/preview URLs from ORBITVU SUN.

Below you can find examples of adding teaser=autorotate parameter:

ORBITVU SUN presentation preview URL

http://orbitvu.co/001/pcFGPQAZSh3mJWrPGezuBP/ov3601/2/view?teaser=autorotate

ORBITVU SUN Presentation embed code

<div class="orbitvu-viewer" style="background: url(//static.orbitvu.co/001/pcFGPQAZSh3mJWrPGezuBP/600/600/img01.png) no-repeat center center #ffffffff; width: 600px; height: 600px">
    <script type="text/javascript" src="//orbitvu.co/001/pcFGPQAZSh3mJWrPGezuBP/ov3601/3/script?width=600&content2=yes&height=600&teaser=autorotate"></script>
</div>

Some additional parameters that can be seen in the embed code, e.g. content2 are automatically generated ORBITVU SUN parameters, not ORBITVU VIEWER ones.

ORBITTOUR embed code

<div id="orbittour-eVejoY36KsRzEWVXoqmPcG" class="orbittour-container"></div>
<script type="text/javascript" src="//orbitvu.co/001/eVejoY36KsRzEWVXoqmPcG/2/orbittour/689/script?teaser=autorotate"></script>

JavaScript code

inject_orbitvu(
              'presentation1-container',
              'http://yourdomain.com/orbitvu12/orbitvuer12.swf',
              'http://yourdomain.com/orbitvu12/expressInstall.swf',
              {
                  ovus_folder: "http://yourdomain.com/presentations/presentation1/",
                  width: "500",
                  height: "400",
                  teaser: 'autorotate'
              });
Previous Article Custom UI for Viewer using API - tutorial
Next Article ORBITVU VIEWER parameters reference
Still Need Help? Contact Us