[Show/Hide Right Column]

Embed a video or audio file in a wiki page
Print

Plugin Flash

This wiki plugin allows to embed an .swf (Flash movie) or an MP3 audio file in a wikipage.

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:

noteNote
Make sure you use the URL has double quotes (") around it. If not, the embedded equal sign (=) will cause a problem.

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: lindon2331 points  , xavi36278 points  , sylvie4333 points  , mlpvolt1895 points  , Marc Laporte5511 points  , luciash d' being1589 points  and Gary7 points  .
Page last modified on Saturday 03 July, 2010 22:23:24 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):