wiki:FlashEmbedMacro

Version 8 (modified by Alexey Kinyov, 14 years ago) (diff)

--

Embed Flash content

Description

Plugin provides macro [[Embed(...)]] for embedding flash content into wiki pages.

Bugs/Feature Requests

Existing bugs and feature requests for FlashEmbedMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:flashembedmacro here].

Source

You can check out FlashEmbedMacro from here using Subversion, or browse the source with Trac.

Usage and Examples

Macro produces html code for embedding flash content from certain service, by it's 'key' and content id. It also can embed simple SWF by it's URL.

Available keys:

Optional parameters:

  • w and h: width and height of embedded flash object

Embed YouTube or Vimeo

 [[Embed(youtube=emYqURahUKI)]]
 [[Embed(vimeo=3840952,w=400,h=300)]]

Embed SWF by url

 [[Embed(swf=http://media.nadprof.org/flash/rudy/flowers/flowers.swf,w=500,h=400)]]

Embed SWF from attachment

 [[Embed(swf=flowers.swf,w=500,h=400)]]
 [[Embed(swf=attachment:flowers.swf,w=500,h=400)]]

If swf parameter starts with 'http://', 'https://' of '/', it's treated as URL. Otherwise it's processed as attachment.

The 'attachment:' prefix is optional, so all three examples above do the same thing.

Embed FLV video

Note, that you'll need JW Player hosted somewhere.

 [[Embed(flv=video.flv,purl=/jwplayer.swf,w=500,h=400)]]

The url for flv file is handled same as swf.

Recent Changes

10984 by rjollos on 2011-12-01 11:18:13
Added plugin revision info to webadmin page.
7801 by rudyryk on 2010-03-30 23:29:39
FlashEmbedMacro: patch #5168 applied for enabling flv-player embedding
7800 by rudyryk on 2010-03-30 22:52:10
FlashEmbedMacro bugfix #6258, Embed(swf=attachment:output.swf)? syntax should work in general case
(more)

Author/Contributors

Author: rudyryk
Maintainer: rudyryk
Contributors:

Attachments (1)

Download all attachments as: .zip