Extensions Wiki » Extensions » JWPlayer Macro

JWPlayer Macro

Last modified by Marius Dumitru Florea on 2012/08/28 10:16
cogPlays attached media files
TypeXAR
Developed by

Marius Dumitru Florea

LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Download v1.0

Description

The JW Player is an open-source embeddable media player for web sites, supporting many commonly-used audio and video formats. The player is easy to configure, customize and extend.

Usage

{{jwplayer attachment="video.mp4" /}}
{{jwplayer attachment="Space.Page@video.mp4" width="600" height="400" /}}

Parameters definition

NameValueDescription
attachmentStringThe reference to the attached media file that should be played. The reference is resolved relative to the current document. E.g.: Space.Page@video.mp4 or Page@video.mp4 or even simply video.mp4
widthNumberThe player width, in pixels. If not defined, the player tries to determine automatically the width from the played media file.
heightNumberThe player height, in pixels. If not defined, the player tries to determine automatically the height from the played media file.

Prerequisites & Installation Instructions

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
Created by Marius Dumitru Florea on 2012/04/23 16:02

Download XWiki