Extension:Dhflashplayer
From MediaWiki.org
|
Dhflashplayer Release status: unknown |
|
|---|---|
| Implementation | Tag |
| Description | allow the display of DreamHost's flash movie player within MediaWiki. This script is based on Flashow v0.01 by Eric Larcher. |
| Author(s) | PatrikRoy |
| Download | no link |
Dhflashplayer extension allow the display of DreamHost's flash movie player within MediaWiki.
This script is based on Flashow v0.01 by Eric Larcher.
Contents |
[edit] Syntax
[edit] Base Syntax
<dhflashplayer>attribute1=value1|attribute2=value2|...</dhflashplayer>
[edit] Attribute Reference
- file = file name with extension (e.g. "snake.swf")
- width = width of the movie in px (e.g. "150")
- height = height of the movie in px (e.g. "80")
- path = full path of the movie file (e.g. "http://badger.com/")
- charset = charset used by the feed (e.g. "utf-8")
[edit] Example
<dhflashplayer>file=mushroom.flv|width=200|height=120|path=http://cosmochips.net/resources/movies/</dhflashplayer> This page uses dhflashplayer.
[edit] Code
- Php source
- Download zip file.
[edit] Installation
- download/extract the zip file or save the code as dhflashplayer.php and upload it into the extension directory of your MediaWiki installation like: mediawiki/extensions/dhflashplayer.php
- add the following to the end of LocalSettings.php:
include("extensions/dhflashplayer.php");
You can now use the extension with <dhflashplayer>...</dhflashplayer> in the wiki.
[edit] Known limitations
- This script has been voluntarily limited in parameters for the author's self use. Feel free to add your own parameters at the point get parameters from argument-array in the source code.
- Natively, the script only allows once instance of itself in a wiki page.
- The script may not work outside DreamHost hosting plans (not tested).
- The author doesn't need any modifications to the script, he will not release later versions of dhflashplayer (please don't ask him to). Feel free to adapt or discuss on it anyway.

