This example shows you how to pop up a window, then control the player from this page.
First, click the "fullscreen / detach" button within Wimpy, OR click one of the following links:
Launch Jukebox with default playlist.
Launch Jukebox with specific file and start playing immediately.
You need to upgrade your Flash Player
We use the same setup as in examples 5 and 6, however, we need to "tack on" the popped up window object to the beginning of each function call:
onClick="wimpy_popout_window.wimpy_play()"
When Wimpy detaches the player or when you use the wimpy_popout(), a new object named "wimpy_popout_window" is created, which allows "this" page to communicate with the popped up page.
Wimpy is also set up so that if a user navigates from "this" page to another page on your site, the popped up player can still be controlled from the other page.
|