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
Cache-Control: no-cache, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Last-Modified: Fri, 09 Mar 2012 17:22:51 GMT
Content-Disposition: inline; filename="video1.mp4"
Date: Fri, 09 Mar 2012 17:24:56 GMT
HTTP/1.1 200 OKDate: Fri, 09 Mar 2012 17:27:41 GMTServer: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 with Suhosin-PatchLast-Modified: Fri, 09 Mar 2012 17:21:20 GMTETag: "cecfe9-13724b9-4bad29efb2400"Accept-Ranges: bytesContent-Length: 20391097Content-Type: video/mp4
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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