Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Chrome won't place .mp4 files in Confluence

Abi Kanagasabai February 21, 2019

Hi there,

It seems like Google Chrome does not play .mp4 files on Confluence. I have tried every possible video format (.mp4, .ogg, .avi, .wmv, .ogv, .webm) and with the appropriate codecs however, none of them work. 

These videos are large (over 10MB in total) and stored in Nexus Repository Manager 3.0. When we asked Nexus to see if there's an issue from their end and they said it has to be with Confluence (no help). I can view Vimeo/Youtube videos and both {HTML tag amd multimedia tags can be used for them, however, nothing seems to work when it comes to .mp4 videos on Chrome! I checked many forums on this topic on Atlassian and the web, but could not find a solution that works :(

Current Confluence Version: 6.7.2

Current Google Chrome Version: 71.0

Notes/Summary: 

1. Due to security reasons, we cannot use any public platforms including Vimeo/YouTube and can only use Nexus for hosting. 

2. We can only use Chrome to view the videos.

3. Larger files so attaching to Confluence site is not an option (increasing Confluence space size is not an option either) .

4. Can use Nexus only as a hosting platform.

 

Please help!

 

Thanks in advance!

1 answer

0 votes
Jared Brenner
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.
February 21, 2019

Hi Abi,

Could you tell us a bit more about how you're trying to implement this?  What macros have you tried to use?

Jared

Abi Kanagasabai February 21, 2019

Thanks for the response, Jared. 

 

So far I've attempted using the following methods:

1. Widget Connector (entered Nexus' URL under 'Web Site's Widget URL)

Result: It displays the Widget Connector icon only

 

2. Entered JavaScript into HTML as a script

Result: It shows the video player without any content and the buttons are disabled.

 

3. Used the Multimedia Marco option and attached the video to the Confluence space (file size: 1mb)

Result: Since the trial video was very small, it played fine (the files I need to use are over 10mb+ and cannot attach to Confluence space due to size limitation)

 

4. HTML tags that were used:

a)

<video width="320" height="240" controls>  <source src=" NEXUS URL HERE.mp4" type="video/mp4">    Your browser does not support the video tag.</video> 

b)

<iframe src="NEXUS URL HERE.mp4" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

c)

Added codecs for .mp4 /.avi etc. files with the above HTML tags

 

All of the above only results in displaying video player section with controls disabled and no content to view.

Like Zak Laughton likes this
Jared Brenner
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.
February 21, 2019

That covers everything I would have tried.  Have you been able to successfully stream Nexus content on other platforms?

Like Zak Laughton likes this
Abi Kanagasabai February 21, 2019

Interestingly enough, I am able to use the HTML tags to embed a JPG image to the Confluence space (filesize: 1mb) and there were no issues with that:

<html>

<body>

<h2>HTML Image</h2>

<img src="NEXUS URL here" alt="Trulli" width="500" height="333">

</body>

</html>

Like Zak Laughton likes this
Jared Brenner
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.
February 21, 2019

Is that linked file also locked behind a layer of authentication, or can it be accessed without logging in?

It may be worth trying to embed an .mp4 file outside of Confluence (even on a Wordpress page) just to see if it works.

Abi Kanagasabai February 22, 2019

There were no issues with login/authentication when we attempted to embed a JPG image to Confluence. It uploaded without any issues and can be viewed.

Also, there were no issues embedding a .mp4 video to a wix website either (can't try Wordpress as we cannot download due to local admin restrictions). 

Like Zak Laughton likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events