From: http://sphynkx.livejournal.com/ Date: Mon, 27 Jun 2011 02:02:16 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d027820117a15832d009757ac4ff66b03541848e;p=ikiwiki.git --- diff --git a/doc/plugins/contrib/video.mdwn b/doc/plugins/contrib/video.mdwn new file mode 100644 index 000000000..247e233a9 --- /dev/null +++ b/doc/plugins/contrib/video.mdwn @@ -0,0 +1,23 @@ +# Videoplugin + +This plugin provides embedding video on wikipages. Plugin uses most simple embedding method - only with *embed* tag and without any JS-scripts. + +###Usage + +>\[\[\!video width=100 height=100 type="application/x-shockwave-flash" src="/\_jwplayer/player.swf" allowscriptaccess="always" allowfullscreen="true" autostart="false" path="path\_to\_video"\]\] + +All parameters are optional except path and will be replaced with the default settings as showed in the above example. + +*path* is relative path in webdir or web-address (to Youtube page). + +### Install +Download and unpack [archive](/\_jwplayer/jw\_videoplugin.tar.bz2) in your ikiwiki webdir. +Or download [JW Player](http://www.longtailvideo.com/players/jw-flv-player/) and [perl module](/\_jwplayer/video.pm) separately. Make dir *\_jwplayer* and put player.swf in it. Also put *video.pm* in *Plugin* dir. In Ikiwiki configuration switch on the plugin: + + add_plugins => [qw{.......... video}] + +### Note + +[Htmlscrubber](http://ikiwiki.info/plugins/htmlscrubber/) may block *embed* tag. + +If embed tag present but video not playing - check mode of unpacked *player.swf*.