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

This widget could not be displayed.
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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

61 views 8 4
Read article

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