Confluence bridge for Multimedia

Zuletzt geändert von xwikiadmin am 2025/01/07 12:38

Description

This is a bridge for the Confluence Multimedia macro. 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

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

The result is the following:

Loading the video player...

Audio

{{confluence_multimedia page="Confluence.Macros.ConfluenceMultimedia" name="file_example.mp3" height="30"/}}

The result is the following:

Loading the video player...