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
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
Hi Jesse,
You might want to raise this as a New Feature request in the Confluence project on http://jira.atlassian.com. I'll keep an eye out for it.
Thanks,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.