Insert multimedia file into page??
Asked by wendy shen:

I am trying to play a WMV file on a page, and I was following exactly the documentation guided: <https://confluence.atlassian.com/display/CONF33/Embedding+Multimedia+Content>, below is my wiki code:

As an example my WMV's absolute URL is: http://\[my-confluence-domain\]/download/attachments/457473/video.wmv, and my wiki code is below:

!http://\[my-confluence-domain\]/download/attachments/457473/video.wmv\|height=480,width=640\|type=video/x-ms-wmv!

No matter what I try, confluence (I am using 3.3.1) always generate a \<img\> tag on the page, and embeded the wmv video as img's src, I don't know why!!!! Please help!


Answers:
author: William Zanchet [Atlassian]
body: Hi Wendy,  

Actually I raised a bug about this behavior, as you can see here:  

<https://jira.atlassian.com/browse/CONF-27581>  

Basically it seems that .WMV files cannot run neither Firefox or Chrome.  

I would strongly suggest that you vote on this bug report to increase its popularity and add it to your watchlist for future updates.  

I hope this helps.  

Cheers,  

WZ


author: Rachel Dunlop
body: Sorry I can't provide an answer but I can corroborate the issue you are having. We are on 3.3.1 also and I tried repeating your steps myself.

While I didn't get any errors like you noticed, I did find that I couldn't embed a video attachment either. I could put a link to the attachment, but when I tried to embed it directly I couldn't find a way to do it. The Widget macro didn't work when giving it the link of the video, it just gave me a cog image instead.

Seems that upgrading might help, or maybe its worth finding out if there is a third party plugin for Confluence that will handle this?


author: AlysonA
body: Hi Wendy,

If you actually attach the WMV file to the page and simply use the following markup:

`!filename.mov!`

Does it works?

comments: author: wendy shen
body: Hi Alyson,

Thank you for your help! It does NOT work, I described my steps below:

1. I create a page named "Video test"
2. I attach a WMV video onto this page by clicking "Add" -\> "Attachment".
3. I upload the WMV video - "**foo.wmv**"
4. I "Edit" "Video test" page, in "Wiki markup", I input content below:

!http://\[my-confluence-domain\]/download/attachments/457473/video.wmv!

The reulst is: it generate \<img\> tag:

\<img src="myvideo.wmv" /\>

And if I just give it a "relative path", it always said cannot find the attachment:

Unable to render embedded object: File (Wei+Ye%27s+Instant+Meeting-20120823+0059-1.wmv) not found.

<br />


author: wendy shen
body: I found that higher version of confluence such as 3.5 seems has better support for Multimedia file, the links I found below:

[https://confluence.atlassian.com/download/attachments/252348575/multimedia-macro.png?version=1\&modificationDate=1292554982640](https://confluence.atlassian.com/download/attachments/252348575/multimedia-macro.png?version=1&modificationDate=1292554982640)

![](https://confluence.atlassian.com/download/attachments/252348575/multimedia-macro.png?version=1&modificationDate=1292554982640)

**But how can 3.3.1 support inserting video??** Its documentation said yes!!

<https://confluence.atlassian.com/display/CONF33/Embedding+Multimedia+Content>


Tags: content

multimedia