Multimedia Macro

Last modified by Frank Fock on 2024/05/23 17:17

Description

The Multimedia macro is a bridge between Confluence and XWiki. It uses the JW Player open-source embeddable media player for web sites, supporting many commonly-used audio and video formats.

Parameters

ParameterDescriptionRequiredDefault
pageThe page to which the multimedia file is attachedNo
nameFile name of the attached multimedia file.No
widthThe player width, in pixels. If not defined, the player tries to determine automatically the width from the played media file.No
heightThe player height, in pixels. If not defined, the player tries to determine automatically the height from the played media file.No
autostartIf the parameter is set to true then the video or audio file will start playing as soon as the page is loaded.Nofalse

Examples of usage

Video

{{multimedia page="Confluence.Macros.Multimedia" name="file_example.mp4" width="500" height="200" /}}

The result is the following :

There is no valid license for Pro Macros. Please visit the Licenses section.

Audio

{{multimedia page="Confluence.Macros.Multimedia" name="file_example.mp3" height="30"/}}

The result is the following :

There is no valid license for Pro Macros. Please visit the Licenses section.