]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/video.mdwn
1cafe0e280a80e1f6cd504ae9b416e8a5cca1b9b
[ikiwiki.git] / doc / plugins / contrib / video.mdwn
1 [[!template id=plugin name=video author="[[Yury Chumak|sphynkx]]"]]
2 [[!tag type/video]]
3
4 ## Video
5
6 This plugin provides embedding video on wikipages. Plugin uses most simple embedding method - only with *embed* tag and without  any JS-scripts.
7
8 ###Usage
9
10 >\[\[\!video width=100 height=100 type="application/x-shockwave-flash" src="/\_jwplayer/player.swf" allowscriptaccess="always" allowfullscreen="true" autostart="false" file="path\_to\_video"\]\]
11
12 All parameters are optional except *file* and will be replaced with the default settings as showed in the above example.
13
14 *file* is relative path in webdir or web-address (to Youtube page).
15
16 ### Install
17 Download and unpack [archive](http://sphynkx.org.ua/progr/videoplug/jw_videoplugin.tar.bz2) in your ikiwiki webdir. 
18 Or download [JW Player](http://www.longtailvideo.com/players/jw-flv-player/) and [perl module](http://sphynkx.org.ua/progr/videoplug/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:
19
20     add_plugins => [qw{.......... video}]
21
22 ### Note
23
24 [Htmlscrubber](http://ikiwiki.info/plugins/htmlscrubber/) may block *embed* tag.
25
26 If embed tag present but video not playing - check mode of unpacked *player.swf*.