Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : ilbaro 06 Feb 2011, 13:51:26

: All video inserie codice pop up
: ilbaro 06 Feb 2011, 13:51:26
Volevo inserie il codice per far aprire il video in un pop up. Ho letto alcuni post e la guida del sito ma non risceo a farlo funzionare.
ecco la guida originale del sito:

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

Mi potete completare il codice perchè mi funzioni il pop up con un video di youtube? Il componente funziona, ma non rieco a far funzionare il pop up.
Grazie