Unable to display .mp4 content

Since our upgrade to confluence 6.1.2 from 6.0.2 mutimedia content such as mp4s do not work.

The following error is displayed on the page:

Error rendering macro 'multimedia' : com.atlassian.renderer.v2.macro.MacroException: Unable to display content of type '.mp4'

We have tried re-adding the content by dragging the file onto the page.  It seems to use the view-file macro instead of the multimedia macro now.  The problem with the view-file approach is that it does not preview the video content and uses need to click the file to view it.

<p>
  <ac:structured-macro ac:macro-id="76b09eae-0897-4ae8-9df3-62d32fea10d6" ac:name="view-file" ac:schema-version="1">
    <ac:parameter ac:name="name">
      <ri:attachment ri:filename="Pinocchio-Marionette.mp4"/>
    </ac:parameter>
    <ac:parameter ac:name="height">250</ac:parameter>
  </ac:structured-macro>
</p>
<p>
  <br/>
</p>
<p>
  <ac:structured-macro ac:macro-id="dc1ea319-a014-4ceb-bceb-d4e16439a94d" ac:name="multimedia" ac:schema-version="1">
    <ac:parameter ac:name="name">
      <ri:attachment ri:filename="Pinocchio-Marionette.mp4"/>
    </ac:parameter>
    <ac:parameter ac:name="autostart">true</ac:parameter>
  </ac:structured-macro>
</p>
<p>
  <br/>
</p>

edit.PNGview.PNG

We have lots of content that did use the mutlimedia macro and we require it to work.

 

1 answer

0 vote
Maarten Cautreels Community Champion May 04, 2017

Hi, 

The multimedia macro has some issues with certain mp4 videos, depending on the encoding. 

There's another question here where they've discussed several solution to a similar problem: https://community.atlassian.com/t5/Confluence-questions/Embedded-mp4-does-not-work-in-any-browser/qaq-p/371772

I think you might be interested in the plugins.html mentioned there: https://bitbucket.org/saselberg/confluence-plugin-macro-html5-multimedia

 

Best, 

Maarten

I have tested the same video on our staging site on 6.1.2 and it works as per before the upgrade.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

121 views 3 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you