It's better when it's simple

User Tools

Site Tools


swfobject Plugin

Compatible with DokuWiki


plugin Helps embedding flash using swfObject and an alternative for users without Flash

Last updated on

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 flash

Tagged with embed, flash, media

Flash is not available anymore in browsers.

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


swfObject – Flash in your DokuWiki

Embedding Flash into a website can be pain – especially if you need an alternative image when Flash is being blocked or non-existing. The OpenSource project swfObject offers a clean way for almost every browser to insert Flash objects – with an alternative in case Flash is not installed.

The swfObject plugin offers a simple syntax for DokuWiki:

<swfobject %SWF%[?%OPTIONS%]>
Variable Content
%SWF% your flash-media file, e.g. :wiki:my_flash.swf
%OPTIONS% see below
%ALTERNATE_CONTENT% any content renderable by DokuWiki


The plugin can take a lot of options. On the one hand those are the ones from the original SWFObject, on the other there are your custom flash-specific options. The syntax is:

Option Values Default Description
width number 150 Important value which has to be set accordingly
height number 50 Important value which has to be set accordingly
play true/false true Autostart of the flash-movie
loop true/false false Re-play at the end of the movie
menu true/false false Show full or smaller context menu
quality low, high, autolow, autohigh, best autohigh Display Options
scale showall, noborder, exactfit showall What will happen when the movie does not fit into your defined areas
salign l, t, r, b, tl, tr, bl, br Alignment options
wmode window, opaque, transparent transparent Window modes
bgcolor Hexadecimal RGB Mode: #RRGGBB Background color for transparent areas
base URL Base directory for dynamic content of the movie
swliveconnect true/false false
devicefont true/false true
allowscriptaccess true/false false
seamlesstabbing true/false false
allowfullscreen true/false false
allownetworking true/false false

You can add your own options as well. They will then be added to the flashvars option and directly passed to your Flash movie.

If you activate compression for JavaScript and CSS in your DokuWiki Configuration, the SWF-Script Output inside the rendered Document will also be minified.

plugin/swfobject.txt · Last modified: 2023-12-21 16:11 by Aleksandr · Currently locked by:

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