Confluence 5.6 has reached end of life
Check out the [latest version] of the documentation
Displays videos, animations and more, sourced from a file attached to a Confluence page and displayed on your page. See Embedding Multimedia Content for more information.
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: multimedia
Macro body: None.
Parameter name | Required | Default | Parameter description and accepted values |
---|---|---|---|
| No | Current page | Name of the page to which the multimedia file is attached. |
| No | Current space | Space key of the page that has the multimedia file attached. |
| Yes | None | File name of the multimedia file, which is attached to a Confluence page. |
| No | If not specified, the browser will determine the width based on the file type. | Width of the movie window to be displayed on the page. By default, this value is specified in pixels. You can also choose to specify a percentage of the window's width, or any other value accepted by HTML. |
| No | If not specified, the browser will determine the height based on the file type. | Height of the movie window to be displayed on the page. By default, this value is specified in pixels. You can also choose to specify a percentage of the window's height, or any other value accepted by HTML. |
| No |
| If the parameter is set to |
<ac:structured-macro ac:name="multimedia"> <ac:parameter ac:name="width">500</ac:parameter> <ac:parameter ac:name="name"> <ri:attachment ri:filename="Ninjas.MOV"/> </ac:parameter> </ac:structured-macro>
{multimedia:space=DOC|page=My macros|name=ninjas.swf|autostart=true}