Viewing inline video on iPhone

I'm inlining video in my Confluence pages using the !video.mp4! syntax. I'd like the video to be playable on the iPhone/iOS as well as a desktop browser.

The problem I'm running into is that the iPhone won't recognize the video. It puts up a big play icon with a cross through it. This happens both in the Confluence page and when I navigate to the video directly at the /download/attachments/ URL.

At first I thought that the video was encoded improperly for iOS so I double checked my export settings and exported it again. Then, I hosted the file from an Apache web server just to make sure that the iPhone could play it. And indeed it can. But the very same file after being uploaded to Confluence is not playable.

So, I looked at the HTTP response headers from each server.

Here are the Confluence headers:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
X-Confluence-Request-Time: 1331313896053
Last-Modified: Fri, 09 Mar 2012 17:22:51 GMT
ETag: "1331313771000"
Content-Disposition: inline; filename="video1.mp4"
Content-Type: video/mp4;charset=UTF-8
Content-Length: 20391097
Date: Fri, 09 Mar 2012 17:24:56 GMT

And the Apache headers:
HTTP/1.1 200 OK
Date: Fri, 09 Mar 2012 17:27:41 GMT
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 with Suhosin-Patch
Last-Modified: Fri, 09 Mar 2012 17:21:20 GMT
ETag: "cecfe9-13724b9-4bad29efb2400"
Accept-Ranges: bytes
Content-Length: 20391097
Content-Type: video/mp4
So is the problem with charset in the Content-Type header? And if so is there a way to suppress that? I checked and the Confluence attachment content type is set to just "video/mp4".

1 answer

Hi Jesse,

You might want to raise this as a New Feature request in the Confluence project on I'll keep an eye out for it.


Ok, here it is:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,059 views 16 14
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