JW Player
Редактировал(а) Дмитрий Копотев 2022/12/25 12:40
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" /}}
{{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')" /}}
{{jwplayer attachment="$xwiki.getSkinFile('videos/sample.mp4')" /}}