Macros - JW Player

Page / - last modified by Jean Franco on 2022/06/20 08:53

JW Player

last modified by Jean Franco

on 2022/06/20 08:53

Table of Contents

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')" /}}