TWiki home TWiki > TWiki > EmbedFlashPlugin (r1.1 vs. r1.2) TWiki webs:
Main | TWiki | Plugins | Sandbox | Patterns
TWiki . { Home | Welcome | Register | Changes | Topics | Index | Search | Go }
 <<O>>  Difference Topic EmbedFlashPlugin (r1.2 - 29 Dec 2003 - ArthurClemens)
Changed:
<
<

>
>

Changed:
<
<

Pass Flash movie attributes within the %EMBEDFLASH{...}% tags. If a particular parameter is not given, the default value will be used.

>
>

Pass Flash movie attributes within the %EMBEDFLASH{...}% accolades (all values within quotes). When a particular parameter is not specified, the default value will be used (see table below).

Added:
>
>

Changed:
<
<


Required attributes
 
>
>

Required attributes
Changed:
<
<


General attributes
 
>
>

General attributes
Changed:
<
<


Advanced attributes
 
>
>

Advanced attributes
Changed:
<
<

id ID of Flash movie; for general use not needed to specify. movie2 the filename without suffix, eg. flashmovie
>
>

id ID of Flash movie; for general use not necessary to specify. movie2 the filename without suffix, eg. flashmovie
Changed:
<
<

  • Test if the plugin is correctly installed, you should see the Flash movie at the top
>
>

  • Test if the plugin is correctly installed: you should see a Flash movie at the top of this page.
Changed:
<
<

Plugin Author: ArthurClemens?
>
>

Plugin Author: ArthurClemens
Changed:
<
<

-- ArthurClemens? - 28 Dec 2003

>
>

-- ArthurClemens - 28 Dec 2003


 <<O>>  Difference Topic EmbedFlashPlugin (r1.1 - 28 Dec 2003 - ArthurClemens)
Added:
>
>

%META:TOPICINFO{author="ArthurClemens" date="1072647584" format="1.0" version="1.1"}%

EmbedFlashPlugin

To embed a Macromedia Flash (.swf) file.

Example

General syntax

%EMBEDFLASH{filename="string" width="percentage or number" height="percentage or number" background="hex string" version="number" align="string" scale="string" quality="string" menu="true or false" id="string" align="string"}%

Minimum syntax:

%EMBEDFLASH{filename="string" width="percentage or number" height="percentage or number"}%

(other attributes are inserted automatically).

Flash attributes

Pass Flash movie attributes within the %EMBEDFLASH{...}% tags. If a particular parameter is not given, the default value will be used.

Argument Comment Example Default value

Required attributes
 
filename Filename of the movie; should have suffix .swf flashmovie.swf none

General attributes
 
width Width of Flash movie in pixels, or a percentage 320 100%
height Height of Flash movie in pixels, or a percentage 50% 100%
background Background color of Flash movie in hex string. If not used, no background color will be specified and the background color of the Flash movie will be used. This is the easiest way. #cccccc ""
version Flash Player version needed to view movie: version 5, 6 or 7 5 6

Advanced attributes
 
align HTML alignment. Possible values: "" (default), left, right, top, bottom. right ""
scale Scaling of Flash movie. Possible values: "" (default), noborder, exactfit, noscale. noscale ""
quality Playback quality (default Flash setting is "high"). Possible values: best, high, medium, low, autohigh, autolow. best high
menu Should right-click on Flash movie show a (default) menu? Possible values: true, false. Note that with the Flash 7 player the menu cannot be removed. true false
id ID of Flash movie; for general use not needed to specify. movie2 the filename without suffix, eg. flashmovie

Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %EMBEDFLASHPLUGIN_SHORTDESCRIPTION%

  • One line description, shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Embeds a Macromedia Flash file

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You need to install a Macromedia Flash pluginexternal link on the browser to see the Flash content. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip EmbedFlashPlugin.zip in your twiki installation directory.
    Contents:
    File: Description:
    data/TWiki/EmbedFlashPlugin.txt Plugin topic
    lib/TWiki/Plugins/EmbedFlashPlugin.pm Plugin Perl module
    pub/TWiki/EmbedFlashPlugin/sample.swf Sample Flash movie
  • Test if the plugin is correctly installed, you should see the Flash movie at the top

Plugin Info

Plugin Author: ArthurClemens?
Plugin Version: 28 Dec 2003 (V1.000)
Change History:  
28 Dec 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/EmbedFlashPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/EmbedFlashPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- ArthurClemens? - 28 Dec 2003 %META:FILEATTACHMENT{name="sample.mov" attr="h" comment="A small %_L_%nop%_G_%QuickTime movie" date="1060215181" path="sample.mov" size="494658" user="DonnyKurniawan" version="1.1"}%


Topic EmbedFlashPlugin . { View | Diffs | r1.2 | > | r1.1 | More }
Revision r1.1 - 28 Dec 2003 - 21:39 GMT - ArthurClemens
Revision r1.2 - 29 Dec 2003 - 10:01 GMT - ArthurClemens
Copyright © 2003 by the contributing authors. All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback