====== FlashPlayer Plugin ======
---- plugin ----
description: A flash player that plays various media formats (based on the work of Sam Hall).
author : Arno Welzel
email : privat@arnowelzel.de
type : syntax
lastupdate : 2012-05-11
compatible : 2012-10-13, 2006-11-06, 2008-05-05, 2009-02-14b, 2009-12-25c, 2010-11-07a, 2011-05-25, 2012-01-25
depends :
conflicts :
similar : flowplay, youtube, video
tags : !obsolete, media, images, video, music, flash, embed
downloadurl: http://arnowelzel.de/download/flashplayer-20120511.zip
----
===== News =====
Since Sam Hall seems not to work any longer on this plugin i changed the plugin information to the current state. --- //Arno Welzel 19.08.2011 18:27 CET//
Download link fixed to the extended version (where is Sam Hall's one?) --- //[[disparat@googlemaol.com|Stephan Hesse]] 25.04.2011 17:16 CET//
I've also updated the code to resolve most of the issues listed in the discussions section to date. So it should be compatible with PHP 4 now.
Cheers,
--- //[[subnetjet@yahoo.com.au|Sam Hall]] 23.01.2008 15:21//
===== Description =====
This is a cool player that play various media formats. It simplifies embedding audio and movie files into your wiki pages.
See [[http://www.jeroenwijering.com/?item=Flash_Media_Player|Flash Media Player]] for full details about what you can do with this player.
"The Flash Media player supports playback of a single media file of any format the Adobe Flash Player can handle (MP3,FLV,SWF,JPG,PNG or GIF). It also supports RSS/XSPF/ATOM playlist (with mixed mediatypes), a wide range of flashvars (settings) for tweaking both behavior and appearance and an extensive, documented javascript/actionscript API."
NB: According to the author's web site, Adobe Flash Player is still required; this is not a replacement for Flash. It appears to be more of a front-end replacement for flash rather than a full-blown media player with its own decoding and presentation logic.
===== Demo pages =====
You got this plugin up and running? You have got a demo page? Put a link here!
Tanja Schmidt (vocalist): [[http://tanjaschmidt.de]] (used for playing mp3-files)
Ed Bradburn (musician): [[http://www.tunemason.org]] (simple MP3 melodies; search for "Audio") FIXME Site is Down!
York University: [[https://wiki.cse.yorku.ca/dept/tdb/wiki:plugins:flashplayer]]
Arno Welzel: [[http://arnowelzel.de/wiki/reviews/sandisk_cruzermicro8gb]] (extended version by myself, XHTML conform)
Paul Troost: [[http://www.greenbird.info/cplusplus/stereo_vision#results]]
University Climbing Groub [[http://klettern.uni-hohenheim.de/wiki/start]]
===== Acknowledgements =====
I have to thank Sam Hall for his work which was really helpful for me and i'm glad to continue the maintainance.
(Arno Welzel)
//Original from Sam Hall://
I better thank Dave Kliczbor since I pretty much copy and pasted this page from his [[FlowPlay]] plugin, which is a similar plugin. Thanks mate! Now I'm going to steal some of your words to save some time... (No problem, Sam! I've got an almost unlimited supply of words, I can afford to share some ;-) --Dave)
This plugin is merely a wrapper for the excellent [[http://www.jeroenwijering.com/?item=Flash_Media_Player|Flash Media Player]] by Jeroen Wijering. I just wrote the glue to DokuWiki and bundled it with Flash Media Player.
This is my first plugin, and so you will probably recognize the skeleton as being pretty much the same as what was used in the one at the end of the [[devel:Syntax Plugins#Sample Plugin 2 - Color|syntax tutorial]]. So thanks to Christopher Smith for that sample code.
===== Installation =====
Download and extract the flashplayer folder into your plugins folder.
===== Usage =====
flashvars
Replace x and y with the height and width you would like, note that the slider is 24 pixels high, so if you want to display a movie that is 240 in height you would enter height=264.
Replace [[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options#playlistprop|flashvars]] with the variables defined in the documentation for the player. This can be found at:\\
/lib/plugins/flashplayer/flash_media_player/readme/readme.html FIXME
The most basic [[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options#playlistprop|flashvars]] string would be like:
file=http:///
===== Discussion =====
Hello,
nice plugin, but it does not work with rewrite out of the box. You have to change line 67 in ''syntax.php'' and add '''.DOKU_BASE.''' as suffix to the ''.swf''-path.
67: $renderer->doc .= '