Popup Media Example | WebReference

Popup Media Example

Popup Media Example

This is a popup media example, using client-side scripting only (specifically JavaScript), which opens a new window and plays any specified file.

You can test the results of this script right now by clicking the following link. Open file 1. Open file 2. Open file 3.

Alternatively, you can link directly to the media file, and the window will resize itself. In order to failsafe, the file will also notify users without JavaScript that they must enable it to use the media player. Play file 1, in this window.