Changes between Version 1 and Version 2 of FlashEmbedMacro
- Timestamp:
- Apr 27, 2009, 4:50:44 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FlashEmbedMacro
v1 v2 22 22 You can check out FlashEmbedMacro from [http://trac-hacks.org/svn/flashembedmacro here] using Subversion, or [source:flashembedmacro browse the source] with Trac. 23 23 24 == Example==24 == Usage and Examples == 25 25 26 26 Macro produces html code for embedding flash content from certain … … 28 28 by it's URL. 29 29 30 Syntax and examples: 30 Available keys: 31 * ''youtube'': video from !YouTube http://youtube.com 32 * ''vimeo'': video from Vimeo http://vimeo.com 33 * ''swf'': SWF by URL or attachment link 34 35 Optional parameters: 36 * ''w'' and ''h'': width and height of embedded flash object 37 38 39 === Embed !YouTube or Vimeo === 40 31 41 {{{ 32 42 [[Embed(youtube=emYqURahUKI)]] 33 43 [[Embed(vimeo=3840952,w=400,h=300)]] 44 }}} 45 46 === Embed SWF by url === 47 48 {{{ 34 49 [[Embed(swf=http://media.nadprof.org/flash/rudy/flowers/flowers.swf,w=500,h=400)]] 35 50 }}} 36 51 37 Available keys: 38 * ''youtube'': video from !YouTube http://youtube.com 39 * ''vimeo'': video from Vimeo http://vimeo.com 40 * ''swf'': SWF by URL 52 === Embed SWF from attachment === 41 53 42 Optional parameters: 43 * ''w'' and ''h'': width and height of embedded flash object 54 {{{ 55 [[Embed(swf=flowers.swf,w=500,h=400)]] 56 [[Embed(swf=attachment:flowers.swf,w=500,h=400)]] 57 [[Embed(swf=wiki:FlashEmbedMacro:flowers.swf,w=500,h=400)]] 58 }}} 59 60 If ''swf'' parameter starts with '!http://', '!https://' of '/', it's treated as URL. Otherwise it's processed as attachment. 61 62 The 'attachment:' prefix is optional, so all three examples above do the same thing. 63 44 64 45 65 == Recent Changes ==