Vhost API - Speech Functions (Scene embedded in HTML)

loadAudio('audioTrackName')


To load a different SitePal Scene into a player already Embedded into an HTML page, use the loadScene() command:
  1. Call loadScene(1) to load Scene 1: loadScene(1)

  2. Call loadScene(2) to load Scene 2: loadScene(2)

  3. Call loadScene(3) to load Scene 3 (the default Scene for the example): loadScene(3)

    Note: If the original Scene is loaded without 'Player Visible' checked, any Scene loaded with loadScene() will not have a player visible.

    Note: If the original Scene is loaded with 'Optimized' checked, any Scene loaded with loadScene() will load as an Optimized Scene.


See the source of this page for the API code