Help:Flash

From Bugwoodwiki

Adding Flash Animations (SWF)

Flash Animations may be directly uploaded into the wiki. Basic code for calling a flash animation:

<swf>filename|Variable1=Choice1|Variable2=Choice2</swf>

Variables

Width
Width of the display in pixels. Any numerical value will work. Default is "640" pixels.
Height
Height of the display in pixels. Any numerical value will work. Default is "320" pixels.
Caption
Any text that you would like to appear below the video. Default is no caption.
Align
Horizontal alignment of the video on the page. Values are "left", "center", and "right". Default is "left".
Border
Adding a border around the player and the caption. Any numerical value will work. Default is no border

Examples

The minimum WikiText you can enter is:
<swf>CommonPest.swf</swf> <swf>CommonPest.swf</swf>
Here are some other examples:
<swf>rarePest.swf|height=100|width=200|align=center|border=3</swf> height=100|width=200|align=center|border=3</swf>
<swf>ExoticPest.swf|height=150|width=300|align=right|caption=Isn't this great!</swf> height=150|width=300|align=right|caption=Isn't this great!</swf>

Adding Flash Streaming Video (FLV/MP4)

Basic code for calling a flash streaming video is:

<bflv>filename|Variable1=Choice1|Variable2=Choice2</bflv>

Variables

Width
Width of the display in pixels. Any numerical value will work. Default is "640" pixels.
Height
Height of the display in pixels. Any numerical value will work. Default is "320" pixels.
Caption
Any text that you would like to appear below the video. Default is no caption.
Start
Automatically start the player on load. Values are "true" and "false". Default is "false"
Align
Horizontal alignment of the video on the page. Values are "left", "center", and "right". Default is "left".
Border
Adding a border around the player and the caption. Any numerical value will work. Default is no border
Stream
Default is the Bugwood Video Streaming service. If you wish to use the stream from another source, contact Joe LaForest
Skin
Default is "stylish". This is currently the only choice.

Examples

The minimum WikiText you can enter is:
<bflv>wikiwhat.mp4</bflv> <bflv>wikiwhat.mp4</bflv>
Here are some other examples:
<bflv>wikiocity.mp4|height=100|width=200|align=center|border=3</bflv> height=100|width=200|align=center|border=3</bflv>
<bflv>wikiwhat.mp4|height=150|width=300|align=right|caption=Isn't this great!</bflv> height=150|width=300|align=right|caption=Isn't this great!</bflv>