DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:flash

This is an old revision of the document!


Flash Embed Plugin

Compatible with DokuWiki

2009-02-14+

plugin Embed a Flash SWF file with any number of parameters

Last updated on
2009-12-11
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to swfobject

Tagged with embed, flash, media

This plugin allows you to embed Flash files. Unlike DokuWiki's built-in syntax, this plugin adds an easy way to add arbitrary parameter or FlashVars. Unlike the similar swfobject plugin it does not require any JavaScript but relies on DokuWiki's own function to embed Flash files in a cross-browser compatible way instead.

Download and Installation

Download and install the plugin using the Plugin Manager using the download link given above. Refer to Plugins on how to install plugins manually.

Changes

Syntax and Usage

The flash is embedded using <flash></flash> tags. The file to embed, the dimension of the flash object and the alignment is has to be given space separated in the opening tag. Name-Value pairs for the parameters are then given in the body.

Here's an example for a YouTube video:

<flash left 425x344 http://www.youtube.com/v/SMWi7CLoZ2Q>
hl en_US
fs 1
allowFullScreen   true
allowscriptaccess always
</flash>

And an example for a freemind map1), using the freemind flash viewer:

<flash left 800x400 http://your-server/freemind-viewer/visorFreemind.swf>
initLoadFile http://your-server/freemind-viewer/your-freemind-map.mm
quality high
bgcolor #c4cccc
openUrl _blank
</flash>

Supported alignments are left, center and default. The provided SWF can either be a remote URL or a locally uploaded SWF file. In the latter case just give the ID of the file. If you want to reference additional local media files, prefix the parameter name with an exclamation mark !. Here's an example:

<flash center 425x344 some:namespace:visualize.swf>
title An example visualization
!data some:other:namespace:data.xml
</flash>
1)
Freemind is an open source mind mapping tool: http://freemind.sourceforge.net
plugin/flash.1379778952.txt.gz · Last modified: 2013-09-21 17:55 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki