This page last changed on Feb 06, 2007 by ivan@atlassian.com.

You can now embed multimedia files into a Confluence page as as easily as you can an image. Confluence supports these formats:

  • Flash (.swf)
  • Quicktime movies (.mov)
  • Windows Media (.wma, .wmv)
  • Real Media (.rm, .ram)
  • MP3 files (.mp3)
  • AVI files (.avi) May require an avi decoder to be enabled within a browser

Other types of files can be used, but may require the specification of the "classid", "codebase" and "pluginspage" properties in order to be recognised by web browsers.

If you get an error 'Unable to embed content of type application/octet-stream', this means the mime-type is not being correctly recognised. You can add a type parameter to the embedded markup to override the auto-detected mime-type. See below for an example.

To embed a multimedia file,

Attach the file to the page. You can then include it as you would include an image, like this:

!filename.mov!

Usage

To play .avi files, you require to specify the dimensions and type.
For instance to play a test.avi file

!test.avi|height=200,width=200,id=media!

NOTE: Due to security reasons, files located on remote servers are not permitted.

Optionally

Define the properties of the embedded object using a comma separated list of properties

!filename.mov|height=800,width=600,id=media!

Overriding the mime-type of a file without a meaningful extension:

!filename|type=image/jpeg!
Note: For advanced styling
By default, each embedded object is wrapped in a "div" tag. If you wish to style the div and its contents, override the "embeddedObject" CSS class. Specifying an ID as a property also allows you to style different embedded objects differently. CSS class names in the format "embeddedObject-ID" are used.
RELATED TOPICS

Working with attachments overview

Take me back to Confluence 2 Home

Document generated by Confluence on May 01, 2007 02:36