Aller au contenu

Video Plugin – Mgmedia

Google and Youtube

 

Google video:

In the Google URL find the docid variable and use that number/text in the mgmediabot plugin as below

http://video.google.com/videoplay?docid=6634817287115134475&q=iphone
&total=32583&start=0&num=10&so=0&type=search&plindex=5

From this google video, docid=6634817287115134475

{mgmediabot2}type=googlevideo|docid=6634817287115134475{/mgmediabot2}

 

(Notice the changes to the parameters below)

Play in article
{mgmediatut}type=googlevideo|docid=6634817287115134475{/mgmediatut}

Lightbox
{mgmediatut}type=googlevideo|docid=6634817287115134475|lightbox=true|
lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=400|height=326{/mgmediatut}

Popup
{mgmediatut}type=googlevideo|docid=6634817287115134475|popup=true|
popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=400|height=326{/mgmediatut}

 

Youtube video:

For YouTube, in the URL look for the text after the “v” variable.

http://youtube.com/watch?v=m71zgjtBaag

For the above link, v=m71zgjtBaag

{mgmediabot2}type=youtube|youtubeid=m71zgjtBaag{/mgmediabot2}

 

(Notice the changes to the parameters below)

Play in article
{mgmediatut}type=youtube|youtubeid=m71zgjtBaag{/mgmediatut}

Lightbox
{mgmediatut}type=youtube|youtubeid=m71zgjtBaag|lightbox=true|lightboxcaption=My Video|
lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediatut}

Popup
{mgmediatut}type=youtube|youtubeid=m71zgjtBaag|popup=true|popupcaption=My Video|
popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediatut}

 

Pages : 1 2 3 4