VHost Support

Dynamically Change the Background Image

Available for Studio & SitePal

To load a different background into a player already Embedded into a HTML page, use the setBackground(Name) command:
  1. Call setBackground(''); (without a parameter) to clear the background: setBackground()

  2. Call setBackground('New York 1'); to load New York 1: setBackground('New York 1')

  3. Call setBackground('Nightclub'); to load Nightclub: setBackground('Nightclub')

Please feel free to use the source code of this page as an example.

To view the source code, follow these instructions.
© Oddcast Inc. All rights reserved.   |   Terms of Use   |   Terms of Service   |   Privacy Policy