Aller au contenu

Video Plugin – Mgmedia

 

Lighbox Option

Lightbox will “pop open” the video on the page in a transparent iframe(?). This affect makes the video appear to float on the page.

{mgmediatut}path=images/tutorials/194.flv|lightbox=true|lightboxcaption=Quest for Peace|
width=480|height=400|displayheight=400|overstretch=false|title=test title|
image=images/tutorials/video194.jpg|autoplay=true{/mgmediatut}

{mgmediabot2}path=images/tutorials/194.flv|lightbox=true|lightboxcaption=Quest for Peace|width=480|height=400|displayheight=400|overstretch=false|title=test title|autoplay=true{/mgmediabot2}
(Click here)

Parameters (new):
lightbox: set to true for this effect (or any)
lightboxcaption: the text to click to open the video

Note: Parameter order does not matter.

To open with an image add the parameter ‘lightboxpreview’

{mgmediatut}path=images/tutorials/194.flv|lightbox=true|lightboxcaption=Quest for Peace|
title=Quest for Peace|width=480|height=400|displayheight=400|overstretch=false| image=images/tutorials/video194.jpg|autoplay=true|
lightboxpreview=images/tutorials/videovid-lightbox-sample.jpg{/mgmediatut}

{mgmediabot2}path=images/tutorials/194.flv|lightbox=true|lightboxcaption=Quest for Peace|title=Quest for Peace|width=480|height=400|displayheight=400|overstretch=false|autoplay=true|lightboxpreview=images/tutorials/videovid-lightbox-sample.jpg{/mgmediabot2}

Parameters (new):
lightboxpreview: path to image

 

Pages : 1 2 3 4