Macros - JW Player 

Page / - 最后修改者 CMO 打开 2022-05-04 

JW Player 
最后修改者 CMO
打开 2022-05-04

内容列表

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