Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to display .mp4 content

DerivcoITServer May 4, 2017

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 votes
Maarten Cautreels
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 4, 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

DerivcoITServer May 4, 2017

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
TAGS
AUG Leaders

Atlassian Community Events