Unable to play embedded Mp4 videos on iPad or iPhone in Confluence
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
First identify where playback fails.
Web Issue: the MP4 video does not play in a browser on an iPad or iPhone.
Local Issue: the MP4 video does not play on the iPad or iPhone after it has been downloaded to the device.
ℹ️ You can read about this issue on the official discussion site from apple here.
Diagnose
One important thing to note is that "iDevices" doesn't support all the varieties of mp4. Here is a small list about MPEG-4 and H.264 supported varieties.
According to Apple official website, iPad or iPhone 4S is only compatible with H.264 or MPEG-4 video format with the following specifications:
If it is H.264 video, it should meet: up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
If it is MPEG-4 video, it should meet: up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
But there are some forums saying that in fact, the iPad specifications are these:
iPad Supported Video Format
H.264 video (up to 720p, 30 frames per second; main profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats)
MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
ℹ️ Please also note these HLS requirements by apple. Notably interlaced video is not supported.
Cause
(Web Issue) - happens because the iPad/iPhone doesn't have an HTML5 player that works so well as it should yet.
(Local Issue) - happens for a completely different cause, which is the supported resolution of the mp4 videos on "iDevices".
Workaround
Web Issue For browser playback, the article describes an HTML5-player issue on iPad or iPhone devices. Download the video to the device. This can resolve the browser-playback problem unless the downloaded video also encounters the Local Issue below.
Local Issue For downloaded playback, the article describes a different cause: the MP4 video resolution is not supported by the device. Reduce the video resolution to 720p or convert the video.
Was this helpful?