How to embed Flash files into MediaWiki output
Customer is unable to embed SWF files into the output for MediaWiki format
Please note that the extension used in these steps are only appropriate if used with an internal Wiki as it poses security issues if deploying to an external Wiki, so please keep this in mind
Use the dhflashplayer extension available from http://www.mediawiki.org/wiki/Extension:Dhflashplayer and copy the dhflashplayer.php into your Wiki extensions dir.
- Create a directory in your main wiki dir for the swf files and upload them there.
Add this line to LocalSettings.php: include_once("extensions/dhflashplayer.php");
Edit the dhflashplayer.php file so that it points to your swfObject.js file, by looking inside the <script> tag and finding the SRC= attribute, replacing the URL you find there with the URL to your swobject.js file.
- Finally, add this code to where ever you want to embed a video:
replacing with your own swf file name, your wiki server name and swf file directory, and adding any other attributes desired as described in the Mediawiki org page on dhflashplayer. You have to explicitly supply the path name
A helpful tutorial can be found here: http://umwdtlt.org/newmedia/wiki/index.php?title=Embed_FLV