Wiki source code of JW Player

Hide last authors
Andrea Omicini 1.1 1 You can play video files attached to the current wiki page or to any of your wiki pages:
2
3 {{code}}
4 {{jwplayer attachment="video.mp4" /}}
5 {{jwplayer attachment="Space.Page@video.mp4" width="600" height="400" autostart="false" repeat="false" /}}
6 {{/code}}
7
8 {{jwplayer attachment="video.mp4" /}}
9
10 You can also play external videos such as those found on YouTube:
11
12 {{code}}
13 {{jwplayer attachment="http://www.youtube.com/watch?v=1o9efYEmXKA" /}}
14 {{/code}}
15
16 {{jwplayer attachment="http://www.youtube.com/watch?v=1o9efYEmXKA" /}}
17
18 Finally, you can play video files from your server:
19
20 {{code}}
21 {{jwplayer attachment="/path/to/video.mp4" /}}
22 {{jwplayer attachment="$xwiki.getSkinFile('videos/sample.mp4')" /}}
23 {{/code}}