$services.uix.renderExtensions('org.xwiki.platform.html.head', 'html/5.0', {'sortByParameter': 'order'})
$services.uix.renderExtensions('org.xwiki.platform.template.header.after', 'html/5.0', {'sortByParameter': 'order'})
$services.uix.renderExtensions('org.xwiki.platform.template.title.before', 'html/5.0')

JW Player

Last modified by Jaunius Adomaitis on 2026/03/26 12:01

$services.uix.renderExtensions('org.xwiki.platform.template.content.header.after', 'html/5.0')

You can play video files attached to the current wiki page or to any of your wiki pages:

{{jwplayer attachment="video.mp4" /}}
{{jwplayer attachment="Space.Page@video.mp4" width="600" height="400" autostart="false" repeat="false" /}}

Loading the video player...

You can also play external videos such as those found on YouTube:

{{jwplayer attachment="http://www.youtube.com/watch?v=1o9efYEmXKA" /}}

Loading the video player...

Finally, you can play video files from your server:

{{jwplayer attachment="/path/to/video.mp4" /}}
{{jwplayer attachment="$xwiki.getSkinFile('videos/sample.mp4')" /}}
$services.uix.render($panelUix, 'html/5.0') $services.uix.render($panelUix, 'html/5.0')
$services.uix.render($panelUix, 'html/5.0') $services.uix.render($panelUix, 'html/5.0') $services.uix.render($panelUix, 'html/5.0')