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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

311 views 11 10
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