Flash: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
No edit summary
m Reverted changes by Hooker (talk) to last version by HappyDog
 
(23 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{MovedToMediaWiki|Extension:Flash}}
The flash extension allows the display of flash movies within a wiki.
Imported to mediawiki.org including page history. --[[User:Bdk|<span style="color:#116611">:Bdk:</span>]] 02:05, 28 November 2006 (UTC)

== Syntax ==

Minimum Syntax:
<code><nowiki><flash></nowiki>file='''filename.swf'''<nowiki></flash></nowiki></code>

Attribute Reference:
* '''width'''=px/% ''(Modify the width of the object)''
* '''height'''=px/% ''(Modify the height of the object)''
* '''play'''='''true'''/false ''(Start playing the file or wait at first frame)''
* '''loop'''='''true'''/false ''(Loop the animation)''
* '''quality'''=low/autolow/medium/high/autohigh/best ''(Predefine the quality)''
* '''devicefont'''=true/false ''(Change the look of the text used in flash file)''
* '''bgcolor'''=#?????? ''(? -> Hexadecimal integer: 1-9, A-F)''
* '''scale'''=showall/noborder/exactfit ''(Automatically adjust content to width and height)''
* '''menu'''=true/false ''(Show or hide the menu on right-click)''


== Code ==

This is my first php code, so please be lenient with my beginner's mistakes. This code is not yet ready to be used in practice. I have only tested it really quickly and it worked. I have no clue what kind of security holes it has and what consequences it might bring. I suppose that with this code, scripts and java should be disabled but I'm not sure for I am not a Flash expert. Please use with caution.

* [[/Flash v0.01|Flash v0.01]]
* '''[[/Flash v0.02|Flash v0.02]]'''

[[Category:Mediawiki Extensions]]

== Known Bugs ==
''There are too many problems to list them in the bug system, so please list them here:''
*Possible security issues with Javascript
*Commands that are not tested
**align
**salign
**base
**wmode
**SeamlessTabbing
**flashvars
**name (object-specific)
**id (embed-specific)
**movie (object-specific)
**src (embed-specific)

== Working Commands ==
**width
**height

Latest revision as of 17:16, 4 December 2008

Imported to mediawiki.org including page history. --:Bdk: 02:05, 28 November 2006 (UTC)[reply]