DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:swfobject

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
plugin:swfobject [2009-01-13 21:16] – created gammaplugin:swfobject [2023-12-21 16:11] (current) – new download url Aleksandr
Line 1: Line 1:
 +====== swfobject Plugin ======
  
 +---- plugin ----
 +description: Helps embedding flash using swfObject and an alternative for users without Flash
 +author     : i-net software / Gerry Weißbach
 +email      : tools@inetsoftware.de
 +type       : syntax
 +lastupdate : 2009-10-06
 +compatible : 2009-02-14
 +depends    : 
 +conflicts 
 +similar    : 
 +tags       : media, embed, flash
 +
 +downloadurl: https://trello.com/1/cards/5b00640bd607f9cc40f6fd9c/attachments/5b0066ec1c3479c3de6727a0/download/swfobject.zip
 +bugtracker : https://www.inetsoftware.de/support/e-mail-support-accounts
 +donationurl: 
 +donationurl: 
 +
 +screenshot_img: 
 +----
 +
 +Flash is not available anymore in browsers.
 +
 +===== Download and Installation =====
 +
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
 +
 +===== Documentation =====
 +
 +> //swfObject -- Flash in your DokuWiki//
 +
 +Embedding Flash into a website can be pain -- especially if you need an alternative image when Flash is being blocked or non-existing. The OpenSource project [[https://github.com/swfobject/swfobject|swfObject]] offers a clean way for almost every browser to insert Flash objects -- with an alternative in case Flash is not installed.
 +
 +The swfObject plugin offers a simple syntax for DokuWiki:
 +
 +  <swfobject %SWF%[?%OPTIONS%]>
 +  %ALTERNATE_CONTENT%
 +  </swfobject>
 +
 +^ Variable             ^ Content  ^
 +| %SWF%                | your flash-media file, e.g. ''%%:wiki:my_flash.swf%%''  |
 +| %OPTIONS%            | [[#options|see below]]  |
 +| %ALTERNATE_CONTENT%  | any content renderable by DokuWiki  |
 +
 +==== Options ====
 +
 +The plugin can take a lot of options. On the one hand those are the ones from the original SWFObject, on the other there are your custom flash-specific options. The syntax is:
 +
 +  option=value&options2=value2
 +
 +^ Option  ^ Values  ^ Default  ^ Description  ^
 +| width  | number  | 150  | **Important** value which has to be set accordingly  |
 +| height  | number  | 50  | **Important** value which has to be set accordingly  |
 +| play  | true/false  | true  | Autostart of the flash-movie  |
 +| loop  | true/false  | false  | Re-play at the end of the movie  |
 +| menu  | true/false  | false  | Show full or smaller context menu  |
 +| quality  | low, high, autolow, autohigh, best  | autohigh  | Display Options  |
 +| scale  | showall, noborder, exactfit  | showall  | What will happen when the movie does not fit into your defined areas  |
 +| salign  | l, t, r, b, tl, tr, bl, br  |   | Alignment options  |
 +| wmode  | window, opaque, transparent  | transparent  | Window modes  |
 +| bgcolor  | Hexadecimal RGB Mode: #RRGGBB  |   | Background color for transparent areas  |
 +| base  | URL  |   | Base directory for dynamic content of the movie  |
 +| swliveconnect  | true/false  | false  |   |
 +| devicefont  | true/false  | true  |   |
 +| allowscriptaccess  | true/false  | false  |   |
 +| seamlesstabbing  | true/false  | false  |   |
 +| allowfullscreen  | true/false  | false  |   |
 +| allownetworking  | true/false  | false  |   |
 +
 +You can add your own options as well. They will then be added to the flashvars option and directly passed to your Flash movie.
 +
 +If you activate compression for JavaScript and CSS in your DokuWiki Configuration, the SWF-Script Output inside the rendered Document will also be minified.

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki