Video Macro

This is a Velocity macro, which isn't bundled with any XWiki product by default.
Macro contributed by GuillaumeLerouge.
This macro can be downloaded.

Video Macro

The #video macro lets you display any Youtube, Dailymotion & Google Video in your wiki pages easily. You can download it to install & use it on your wiki.

Usage

NameValueDescription
URLStringThe URL of your video's page. It has to be the address of a Google video, a Youtube video or a Dailymotion video taken from its original page.

Usage with XWiki Syntax 1.0

#video(URL)

Usage with XWiki Syntax 2.0

{{include document="Macros.Video"/}}

{{velocity}}{{html wiki="true"}} #video(URL) {{/html}}{{/velocity}}

Example in XWiki 1.0 Syntax

#video('http://www.dailymotion.com/video/xr04b_xwiki-round-the-world')

Result

Tags:
Created by Guillaume Lerouge on 2008/03/05 16:57
Last modified by Vincent Massol on 2009/09/09 17:10

This wiki is licensed under a Creative Commons license
2.2.1.27354