Changes between Version 1 and Version 2 of FlashEmbedMacro


Ignore:
Timestamp:
Apr 27, 2009, 4:50:44 PM (15 years ago)
Author:
Alexey Kinyov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FlashEmbedMacro

    v1 v2  
    2222You can check out FlashEmbedMacro from [http://trac-hacks.org/svn/flashembedmacro here] using Subversion, or [source:flashembedmacro browse the source] with Trac.
    2323
    24 == Example ==
     24== Usage and Examples ==
    2525
    2626Macro produces html code for embedding flash content from certain
     
    2828by it's URL.
    2929
    30 Syntax and examples:
     30Available 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
     35Optional parameters:
     36 * ''w'' and ''h'': width and height of embedded flash object
     37
     38
     39=== Embed !YouTube or Vimeo ===
     40
    3141{{{
    3242 [[Embed(youtube=emYqURahUKI)]]
    3343 [[Embed(vimeo=3840952,w=400,h=300)]]
     44}}}
     45
     46=== Embed SWF by url ===
     47
     48{{{
    3449 [[Embed(swf=http://media.nadprof.org/flash/rudy/flowers/flowers.swf,w=500,h=400)]]
    3550}}}
    3651
    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 ===
    4153
    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
     60If ''swf'' parameter starts with '!http://', '!https://' of '/', it's treated as URL. Otherwise it's processed as attachment.
     61
     62The 'attachment:' prefix is optional, so all three examples above do the same thing.
     63
    4464
    4565== Recent Changes ==