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
{FLASH(movie=>http://studiolife.net/flash/TW-plugtest.swf,width=>550,height=>400,quality=>high)/}
Shows as:
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:
Make sure you use the URL has double quotes (") around it. If not, the embedded equal sign (=) will cause a problem.
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:
Example for audio
{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
Contributors to this page: lindon
,
xavi
,
sylvie
,
mlpvolt
,
Marc Laporte
,
luciash d' being
and
Gary
.
Page last modified on Saturday 03 July, 2010 22:23:24 UTC by lindon
.
