a Flash Plugin
Overview
Easily add tutorials and presentations in your wiki.This plugin is easy to deploy with almost no configuration.
It's also easy to build with the provided ant script.
How to
Install
- v0.2
Copy aFlashPlugin-bin.zip
to webapps/JSPWiki and simply unzip there. It will only install 2 files, a javascript file for the player controls and the jar file.
- v0.1
Simply copy aFlashPlugin.jar
to JSPWiki/WEB-INF/lib
Configure
Edit webapps/JSPWiki/WEB-INF/jspwiki.properties and add arnaud to jspwiki.plugin.searchPathSyntax
- v0.2
- v0.1
- src
mandatory. Can be a local attachment or URL. - height
optional. defaults to 325, like YouTube. - width
optional. defaults to 450, like YouTube. - controls
optional. defaults to true. - play
optional. defaults to true. Will not take effect if controls is true. - loop
optional. defaults to false. Will not take effect if controls is true. - parameters
optional.
Build Your Own Version
- get the sources
- v0.2: get the aFlashPlugin-src.zip
file
- v0.1: get the aFlashPlugin.zip
file
- unzip to a workspace
- copy JSPWiki/WEB-INF/lib/JSPWiki.jar to that workspace
- use ant to build (just call ant)
New Features
- v0.2
- Added ability to pass parameters to flash file(parameters='yourParams')
- Added javascript controls(controls='true|false')\- Added play/pause option (play='true|false')
-Added loop option (loop='true|false') - v0.1
Basic support for flash attachments and external URLs
To Do
- support alignment options, css, etc
Bugs and Limitations
The play and loop parameters will only be taken into account if controls is false. When controls is true, those values are overridden by the javascript.Works for me. Thanks, Arnaud.
--Mark Craig, 12-May-2007
Cool! Is there a way to pass arguments for the .swf that require them?
--NascifAbousalhNeto, 14-May-2007
Of course, what would you need? Like arguments to a flash application to reuse in your action script? I'll spin another version of the plugin today with added features so I can certainly add that at the same time.
--arnaud, 14-May-2007
For those newbies like me: I found I had to change the embedded tag a little from what is shown above, to this:
Plugin insertion failed: Could not find plugin arnaud.FlashPlugin insertion failed: Could not find plugin arnaud.Flash
Thanks for the pointer Janne!
--V. Schmidt, 18-Jan-2008
Add new attachment
List of attachments
| Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
|---|---|---|---|---|---|---|
zip |
aFlashPlugin-bin.zip | 4.7 kB | 1 | 15-May-2007 01:30 | 192.18.101.5 | v0.2 binaries |
zip |
aFlashPlugin-src.zip | 5.1 kB | 1 | 15-May-2007 01:29 | 192.18.101.5 | v0.2 |
jar |
aFlashPlugin.jar | 2.0 kB | 1 | 12-May-2007 08:17 | 70.112.220.253 | aFlashPlugin 0.1 |
zip |
aFlashPlugin.zip | 6.0 kB | 1 | 12-May-2007 08:19 | 70.112.220.253 | sources and build script |