Template usage
Flash Mediaplayer
Parameters:
- type (optional, [html])
- path (mandatory)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=http://www.test.com/test.html|lightbox=true|lightboxcaption=My HTML Page|lightboxpreview=images/stories/mythumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=http://www.test.com/test.html|popup=true|popupcaption=My Video|popuppreview=images/stories/mythumb.jpg|width=300|height=300{/mgmediabot2}
Download html.tmpl
Quicktime player
Parameters:
- type (optional, [quicktime|mov|mp4|m4u])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- scale (optional, [|tofit|aspect], default=1)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.mov|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.mov|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.mov|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download quicktime.tmpl
MPEG player
Parameters:
- type (mandatory, [mpegfile])
- path (mandatory)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}type=mpegfile|path=images/stories/media/video1.mpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}type=mpegfile|path=images/stories/media/video1.mpg|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}type=mpegfile|path=images/stories/media/video1.mpg|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download mpegplayer.tmpl
007MusicVideos player
Parameters:
- type (mandatory, [007musicvideos])
- 007musicvideosid (mandatory)
- width (optional, default=320)
- height (optional, default=285)
- linktext(optional, default=Go to 007MusicVideos.com
- more parameters
Usage:
{mgmediabot2}type=007musicvodeos|007musicvideosid=12345{/mgmediabot2}
{mgmediabot2}type=007musicvodeos|007musicvideosid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=320|height=285{/mgmediabot2}
{mgmediabot2}type=007musicvodeos|007musicvideosid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=320|height=285{/mgmediabot2}
Download 007musicvideos.tmpl
RealAudio player
Parameters:
- type (optional, [realaudio|ra])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- width (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.ra|width=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.ra|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=36{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.ra|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=36{/mgmediabot2}
Download realaudio.tmpl
googlevideo player
Parameters:
- type (mandatory, [googlevideo])
- docid (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- width (optional, default=400)
- height (optional, default=326)
- more parameters
Usage:
{mgmediabot2}type=googlevideo|docid=12345{/mgmediabot2}
{mgmediabot2}type=googlevideo|docid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=400|height=326{/mgmediabot2}
{mgmediabot2}type=googlevideo|docid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=400|height=326{/mgmediabot2}
Download googlevideo.tmpl
DivX Webplayer
Parameters:
- type (optional, [flashmediaplayer|flv|xml|mp3|jpg|gif|png|rbs|rtmp|swf])
- path (mandatory, you can add path multiple times)
- autoplay (optional, [true|false], default=see mgmediabot configuration)
- allowcontextmenu (optional, [true, false], default=true)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.divx|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.divx|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.divx|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download divx.tmpl
youtube player
Parameters:
- type (mandatory, [youtube])
- youtubeid (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- wmode (optional, default=transparent)
- width (optional, default=425)
- height (optional, default=350)
- displayrelated (optional [0,1], default=0)
- more parameters
Usage:
{mgmediabot2}type=youtube|youtubeid=12345{/mgmediabot2}
{mgmediabot2}type=youtube|youtubeid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=youtube|youtubeid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download youtube.tmpl
myvideo.de player
Parameters:
- type (mandatory, [myvideode])
- myvideodeid (mandatory)
- autoplay (not supported, no parameter known, default=see mgmediabot configuration)
- width (optional, default=425)
- height (optional, default=350)
- more parameters
Usage:
{mgmediabot2}type=myvideode|myvideodeid=12345{/mgmediabot2}
{mgmediabot2}type=myvideode|myvideodeid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=myvideode|myvideodeid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download myvideode.tmpl
WindowsMedia player
Parameters:
- type (optional, [windowsmedia|wmv|avi|mpg|mpeg|wma|asx])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- wmode (optional, default=opaque)
- contextmenu (optional, default=1)
strechtofit (optional, default=false)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.wmv|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.wmv|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.wmv|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download windowsmedia.tmpl
JW FLV MEDIA PLAYER 4.1
http://code.jeroenwijering.com/trac/wiki/FlashVars
http://code.jeroenwijering.com/trac/browser/trunk/as3/player.pdf
Parameters:
- type (optional, [flmediaplayer|flv|mp3|jpg|gif|png|rbs|rtmp])
- Single file usage, no playlist is used, just this file will get played)
- file (mandatory)
- author (optional)
- description (optional)
- duration (optional)
- image (optional)
- link (optional)
- start (optional)
- title (optinal)
- or use th playlist feature give the following parameter multiple timess
- path (mandatory)
- title (optional)
- author (optional)
- link (optional)
- image (optional)
- description (optional)
- item (optional)
- shuffle (optional)
- repeat (optional, [false|list|always])
- color settings
- backcolor (optional)
- frontcolor (optional)
- lightcolor (optional)
- screencolor (optional)
- Control the UI
- controlbar (optional, [bottom|over|none], default=bottom)
- controlbarsize (optional)
- playlist (optional, [bottom|right|none] default=none)
- playlistsize (optional)
- skin (optional, [path/to/myskin.swf])
- mute (optional, [true|false])
- volume (optional)
- stretching (optional, [none|exactfit|uniform|fill], default=uniform)
- quality (optional, [true|false])
- displayclick (optional [play|link|fullscreen|none|mute|next])
- bufferlength (optional [seconds])
- logo (optional, [url])
- displayheight (optional)
- displaywidth (optional)
- autoplay (optional, [true|false], default=see mgmediabot configuration)
- allowscriptaccess (default=true)
- allowfullscreen (default=true)
- thumbsinplaylist, (optional, [true|false], default=false)
- searchbar (optional, [true,false], default=false)
- searchlink (optional, default=http://search.longtail.tv/%3Fq%3D)
- width (mandatory)
- height (mandatory)
- abouttext (optional)
- aboutlink (optional)
- id (optional)
- linktarget (optional)
- plugins (optional)
- streamer (optional)
- token (optional)
- tracecall (optional)
- client (optional)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.flv|path=images/stories/media/video2.flv|title=Video 1|title=Video 2|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.flv|path=images/stories/media/video2.flv|title=Video 1|title=Video 2|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.flv|path=images/stories/media/video2.flv|title=Video 1|title=Video 2|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
Download flashmediaplayer.tmpl
Flash player
Parameters:
- type (optional, [flash|swf])
- path (mandatory)
- width (mandatory)
- height (mandatory)
- wmode (optional, default transparent)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/flash.swf|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/flash.swf|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/flash.swf|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download flash.tmpl
stage6 player
Parameters:
- type (mandatory, [stage6])
- stage6id (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- width (optional, default=640)
- height (optional, default=272)
- more parameters
Usage:
{mgmediabot2}type=stage6|stage6id=12345{/mgmediabot2}
{mgmediabot2}type=stage6|stage6id=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=stage6|stage6id=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download stage6.tmpl
Flash Mediaplayer for playlists
Parameters:
- type (optional, [flmediaplayerxml|xml)
- path (mandatory)
- allowfullscreen (default=true)
- displayheight (mostly needed, default=200)
- shuffle (optional default=false)
- repeat (optional, [true|false|list], default=true)
- thumbsinplaylist, (optional, [true|false], default=false)
- autoplay (optional, [true|false], default=see mgmediabot configuration)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
Hint:: The displayheight parameter will help you to adjust the playlist height, aspect ratio and so on, so the displayheight is only the height of the display over transportbar, so height should be displayheight+20(transportbar)+playlistheight.
{mgmediabot2}path=images/stories/media/playlist.xml|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/playlist.xml|lightbox=true|lightboxcaption=My Playlist|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/playlist.xml|popup=true|popupcaption=My Playlist|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
Download flashmediaplayerxml.tmpl
brightcove player
Parameters:
- type (mandatory, [brightcove])
- brightcoveid (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- width (optional, default=486)
- height (optional, default=412)
- more parameters
Usage:
{mgmediabot2}type=brightcove|brightcoveid=12345{/mgmediabot2}
{mgmediabot2}type=brightcove|brightcoveid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=brightcove|brightcoveid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download brightcove.tmpl
RealVideo player
Parameters:
- type (optional, [realvideo|rm|rv])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.rm|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.rm|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.rm|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download realvideo.tmpl More parameters
If you use the popup or lightbox parameter, width and height are mandatory!
- popup (optional [Link Text]), addidtional params:
- popuppreview (optional, [path to your preview image])
- popupcaption (optional, [title of the link])
- lightbox (optional [Link text or grouping of multiple items with the same text here]), additional params:
- lightboxpreview (optional, [path to your preview image])
- lightboxcaption (optional, [title of the link, and caption of the lightbox])