r1 - 02 Nov 2021 - 21:17:10 - TWikiGuestYou are here: TWiki >  TWiki Web > EmbedFlashPlugin
ANNUNCIO: L'aggiornamento dei pacchetti ISI produce importanti cambiamenti, leggete questa nota

EmbedFlashPlugin

Embeds an Adobe Flash file.

Example

%EMBEDFLASH{filename="%ATTACHURL%/sample.swf" width="550" height="400"}%

If this plugin is installed you will see a Flash movie here:

General syntax

All options:

%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{...}% accolades (all values within quotes). When a particular parameter is not specified, the default value will be used (see table below).

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. 100% means one hundred percent of the available width on the page. 320 100%
height Height of Flash movie in pixels, or a percentage. 100% means one hundred percent of the available height on the page. 50% 100%
background Background color of Flash movie in hex string. When omitted, no background color will be specified and the background color of the Flash movie will be used. #cccccc ""
version Flash Player version needed to view movie: version 5, 6, 7 or 8 8 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 necessary to specify. movie2 the filename without suffix, eg. flashmovie

Note that this plugin writes object and embed tags.
More information on Flash OBJECT and EMBED tag attributes (Adobe TechNote).

Settings

  • Set SHORTDESCRIPTION = Embeds an Adobe Flash file
  • Set STUB = TWiki::Plugins::EmbedFlashPlugin

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

Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip EmbedFlashPlugin.zip in your ($TWIKI_ROOT) directory. Content:
    File: Description:
    data/TWiki/EmbedFlashPlugin.txt  
    lib/TWiki/Plugins/EmbedFlashPlugin.pm  
    pub/TWiki/EmbedFlashPlugin/sample.fla  
    pub/TWiki/EmbedFlashPlugin/sample.swf  

  • Optionally, run EmbedFlashPlugin_installer to automatically check and install other TWiki modules that this module depends on. You can also do this step manually.
  • Alternatively, manually make sure the dependencies listed in the table below are resolved. None

Plugin Info

Plugin Author: ArthurClemens?
Plugin Version: 2 Nov 2021 (v1.010)
Change History:  
2 Nov 2006: Version 1.01 - Updated Flash sample, small changes to documentation
28 Dec 2003: Version 1.0
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

Topic attachments
I Attachment Action Size Date Who Comment
fla sample.fla manage 39.5 K 02 Nov 2021 - 20:28 UnknownUser  
swf sample.swf manage 1.9 K 02 Nov 2021 - 20:54 UnknownUser  
 

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.EmbedFlashPlugin