# Wiki source code of JW Player

Last modified by Jean Franco on 2022/06/20 08:53
Export
Office Formats
Export as PDF Export as ODT Export as RTF
Other Formats
Export as HTML

Hide last authors

author | version | line-number | content
--- | --- | --- | ---
| 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}}

# Applications

# Tips

Did you know that you can improve XWiki? Take 5 minutes to fill this survey and help this open source project!

Maila Networks
XWiki Debian 14.4.1