Article Index
Introduction
Licence
Streaming local content
Streaming remote content
Plugin Parameters
Using playlists
Managing playlists
Using the AVR Media button
Popup window and lightbox
The system plugin
Managing Players, Rippers and Tags
Page 9 of 11 ## Popup window and lightbox Starting with version 1.2, displaying media in a popup window or a lightbox has now been made really easy. Displaying media in this way is a two-part process: Adding popup="true" and assigning a unique ID for the player by using divid="identifier" Providing a link which references the player by it's ID given in step 1 and specifying the popup type (window or lightbox) Step one results in an "invisible" embedding code. Actually the code is pre-rendered into a database table. This database record is then retrieved on demand by invoking the link, generated by step two. Here is an example: `{`flv` popup="true" divid="mypopup"}video{/flv}` This defines a player named mypopup, playing video.flv which will be initially invisibe. `{`avrpopup` type="window" id="mypopup"}Klick here to show video in a popup window{/avrpopup}` This will create link which opens a popup window containing the player upon activation. `{`avrpopup` type="lightbox" id="mypopup"}Klick here to show video in a lightbox{/avrpopup}` This will create link which opens a lightbox containing the player upon activation. << Prev - Next >>
Last Updated ( Monday, 07 July 2008 22:29 )