plugin:flash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:flash [2009-12-23 10:34] – bug in syntax.php 158.64.4.15 | plugin:flash [2022-01-18 19:41] (current) – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : syntax | type : syntax | ||
- | lastupdate : 2009-12-11 | + | lastupdate : 2016-02-03 |
compatible : 2009-02-14+ | compatible : 2009-02-14+ | ||
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : media, flash, embed | + | tags : |
+ | |||
+ | downloadurl: | ||
+ | sourcerepo : https:// | ||
+ | bugtracker : https:// | ||
+ | donationurl: | ||
---- | ---- | ||
+ | |||
+ | Flash is not available anymore in browsers. Video functionality is included in DokuWiki, see the [[wiki: | ||
+ | |||
+ | Embedding videos from the many video sites like YouTube can be done with [[vshare]] plugin. | ||
+ | |||
This plugin allows you to embed Flash files. Unlike DokuWiki' | This plugin allows you to embed Flash files. Unlike DokuWiki' | ||
Line 18: | Line 28: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | + | ||
- | * {{http:// | + | |
==== Changes ==== | ==== Changes ==== | ||
- | {{rss>http://dev.splitbrain.org/darcsweb/darcsweb.cgi? | + | {{rss>https://github.com/splitbrain/dokuwiki-plugin-flash/commits/master.atom date}} |
===== Syntax and Usage ===== | ===== Syntax and Usage ===== | ||
Line 30: | Line 38: | ||
The flash is embedded using ''< | The flash is embedded using ''< | ||
- | Here's an example for a YouTube video: | + | Here's an example for a **YouTube video**: |
< | < | ||
Line 38: | Line 46: | ||
allowFullScreen | allowFullScreen | ||
allowscriptaccess always | allowscriptaccess always | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | And an example for a **freemind map**((Freemind is an open source mind mapping tool: http:// | ||
+ | |||
+ | < | ||
+ | <flash left 800x400 http:// | ||
+ | initLoadFile http:// | ||
+ | quality high | ||
+ | bgcolor #c4cccc | ||
+ | openUrl _blank | ||
</ | </ | ||
</ | </ | ||
Line 50: | Line 69: | ||
</ | </ | ||
- | ===== Debug ===== | + | ===== [PATCH] Alternative Image ===== |
+ | |||
+ | Hi, I have been bouncing back and forth between [[plugin: | ||
+ | |||
+ | For example, if you want to embed a flash movie called '' | ||
+ | |||
+ | < | ||
+ | <flash center 425x344 presentation.swf> | ||
+ | title A Generic Presentation | ||
+ | alt sorry.png | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | To apply the patch, download the file '' | ||
+ | <code bash> | ||
+ | cat alt.patch | patch -p1 | ||
+ | </ | ||
- | For compatibility with dokuwiki 2009-02-14, I had to edit syntax.php to make the page // | + | I am sure that the author could revise the code and add a better way of handling this, but this has worked for us so far. :-) |
- | edit lib/ | + | <file diff alt.patch> |
- | | + | --- syntax.php.orig 2014-06-04 21: |
- | to | + | +++ syntax.php 2014-06-04 21: |
- | | + | @@ -85,6 +85,9 @@ |
- | | + | if($key{0} == ' |
+ | $return[' | ||
+ | | ||
+ | + } else if($key == ' | ||
+ | + return[' | ||
+ | + unset($return[' | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @@ -102,7 +105,7 @@ | ||
+ | if($data[' | ||
+ | if($data[' | ||
+ | |||
+ | - $R-> | ||
+ | + $R-> | ||
+ | |||
+ | | ||
+ | } | ||
+ | </ | ||
plugin/flash.1261560862.txt.gz · Last modified: 2009-12-23 10:34 by 158.64.4.15