History: PluginFlash
Preview of version: 21
Plugin Flash
This wiki plugin allows to embed an .swf (Flash movie) or an MP3 audio file in a wikipage.
Table of contents
Usage and Paramters
Use the syntax:
{FLASH(movie=>movie_url_here)}{FLASH}
This syntax is that of a standard wiki plugin, so it is possible to use the shorthand syntax:
{FLASH(movie=>movie_url_here)/}
You can optionally pass other parameters :
{FLASH(movie=>movie_url_here,height=___,width=___, quality=high)/}
Here are the parameters:
Parameter | Accepted values | Effect | Default | Since |
---|---|---|---|---|
movie | url of flash movie | If the URL contains an =, the url must be enclosed in quotes | ||
fileId | ID | The file Id of a file from a podcast file gallery | 5.0 | |
height | Numeric | height of movie in pixels | 350 | |
width | Numeric | width of movie in pixels | 425 | |
quality | text | high | ||
flashvars | text | use to pass additional parameters ( |
Examples
Flash Video (from Daily Motion)
This code:
{FLASH(movie=http://www.dailymotion.com/swf/x26e7s,width=>425,height=>350,quality=>high)}{FLASH}
Would produce on this site:
{FLASH(movie=http://www.dailymotion.com/swf/x26e7s,width=>425,height=>350,quality=>high)}{FLASH}
Google video
To add a Google video:
This code:
{FLASH(movie="http://video.google.com/googleplayer.swf?docId=-3275007704055224798&hl=en", width=>425, height=>350, quality=>high)}{FLASH}
Would produce:
{FLASH(movie="http://video.google.com/googleplayer.swf?docId=-3275007704055224798&hl=en",width=>425,height=>350,quality=>high)}{FLASH}
File gallery
If you want to use a file from the file gallery
{FLASH(movie="tiki-download_file.php?fileId=298&display=y") /}
Do not forget the double quotes.
Do not forget &display=y
Audio file
Syntax:
{FLASH(movie=>"tikimovies/multiplayer.swf?url=http://yoururl/file.mp3&MODE=AUDIO")}{FLASH}
Flash in a module
If the flash does not work in a module, surround the plugin code with {literal} like this:
{literal}{FLASH(movie=this.swf) /}{/literal}
Flashvars
Pass extra parameters using flashvars. Example:
{FLASH(movie="http://www.maps.sciencemapping.com/gexf/GexfExplorer1.0.swf", width="50", height="50", quality="high", flashvars="path=http://www.maps.sciencemapping.com/gexf/ test.gexf&curvedEdges=true&clickableNodes&clickableNodes= true&labelsColor=0xFFEEDD&font=Verdana")}{FLASH}
Related