Confluence Docs 3.0 : Embedding Multimedia Content This page last changed on Dec 02, 2008 by smaddox. You can 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) You may need to enable an avi decoder within your browser You can use other types of files, but you may need to specify the 'classid', 'codebase' and 'pluginspage' properties so that your web browser can recognise the file type, as described below.
| For security reasons, files located on remote servers are not permitted.
| Other ways to display external and internal objects Take a look at the Office Connector for embedding Office documents and presentations onto your Confluence page. Or try the Widget Connector for displaying live content from external sites.
On this page: Basic Usage Specifying File Type and Other Properties Troubleshooting ## Basic Usage Attach the file to the page. You can then include it as you would include an image, like this:
    !filename.mov!
## Specifying File Type and Other Properties Define the properties of the embedded object using a comma-separated list of properties. For example:
    !filename.mov|height=800,width=600,id=media!
If the file does not have a meaningful extension, specify the mime type like this:
    !filename|type=image/jpeg!
To play .avi files, you need to specify the dimensions and type. For example, to play a `test.avi` file:
    !test.avi|height=200,width=200,id=media!
| Advanced styling via CSS 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.
## Troubleshooting 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 macro code to override the auto-detected mime-type. See above for an example. For security reasons, files located on remote servers are not permitted. ##### RELATED TOPICS Widget Macro Working with the Office Connector Working with Attachments Overview Take me back to Confluence User Guide

Document generated by Confluence on Nov 05, 2009 23:35