Warning
This plugin may not work because of missing AttachmentPlugin class.

Flash Plugin#

This flash plugin provides an easy way to add Wink flash movies to the Wiki using the following syntax:

[{INSERT uk.co.netvisionit.FlashPlugin WHERE flash=mymovie,height=379,width=456}]

It works with Wink created .swf files. However, swf files from other sources are not tried yet.

Parameters#

Basic parameters
Parameter nameDescription
flashthe name of flash movie file
heightthe height of the movie in pixels
widththe width of the movie in pixels
paramsshow a list of parameters
Advanced Parameters (Not tested)
Parameter nameDescription
classidClass ID of the Flash e.g. clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebasee.g. ["http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"]

Jspwiki.properties#

The Flash Plugin requires two settings in the jspwiki.properties file. The jspwiki.moviesdir is a directory path on the file system that is also servable content e.g. like an images directory. The jspwiki.moviesurl is the url suffix to the main site that points to the movies dir, ie. the browser's view of the movies directory.

e.g.

  • jspwiki.moviesdir= /tediously/long/absolute/file/path/to/perhaps/wiki.war/movies
  • jspwiki.moviesurl= movies

Upload the flash movie#

First define the insert and params. Then use an attachment to upload the .swf file. It must have the same name as the flash parameter. The Flash Plugin will copy the .swf file to the movies directory and then delete the attachment.

Limitations#

The params debug,loop and quality are not supported yet but probably should be. Also not sure how platform friendly the object tag is. It works in Firefox on Windows anyway.

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jar
flashplugin.jar 6.2 kB 1 20-Nov-2006 19:19 82.43.117.125
jar
flashpluginsource.jar 4.5 kB 1 20-Nov-2006 19:19 82.43.117.125
« This page (revision-15) was last changed on 03-Dec-2008 17:37 by 218.250.185.156