Page MenuHomePhabricator

webm not playing on iOS Safari
Closed, DuplicatePublic


as reported by @Doc_James, webm media not playing on iOS safari.

To replicate: on completely updated iOS device open Safari and go to and click to view first video (looks like this)

Screenshot 2016-08-12 11.37.48.png (544×384 px, 128 KB)

It appears to open up a new window with the file page:, but the page is blank

Appears as a downloadable file icon in chrome on iOS. Opens up player and plays in chrome on Android.

Event Timeline

iOS Safari doesn't support .webm files. I think normally iOS users would see the .ogg transcodes from TimedMediaHandler, but the player is suppressed on mobile. I don't have any device to test on, can you view the video on (desktop view with the mobile skin)?

dr0ptp4kt triaged this task as Medium priority.Aug 17 2016, 3:25 PM
dr0ptp4kt added subscribers: brion, dr0ptp4kt.

@brion, any insight on this?

The mobile interface doesn't yet interact with TimedMediaHandler and the Ogg compatibility shim -- we have to tidy up a few things in the switch from Kaltura player to VideoJS before enabling that.

(fixing things on the TimedMediaHandler end). I'll reprioritize that on my end higher since it's gotten delayed a bit past when we wanted to have it deployed.

assigning to @brion; (related to T98491 and friends)

@brion I thought with the new update to ogv.js that we could use the shim for webm, ie webm videos can be played on browsers that doint support webm, like we do for ogv?

@Paladox three separate issues:

  1. TimedMediaHandler is not yet active on the mobile web view, as the videojs work is not complete (I'll be trying to finish that up in the next week or so). So at present it doesn't work regardless of anything else.
  2. It doesn't matter what format the original file was in (webm, ogg, or anything else we support in the future) -- we convert all video files into both ogg and webm versions. Every file, regardless of original format, will be playable in Safari once TMH mobile mode is ready.
  3. Yes ogv.js can play WebM VP8 if you send a WebM file to it, but our ogv.js adapter in TimedMediaHandler is not yet configured to do so -- so currently anything played via ogv.js in Safari or IE/Edge will be the Ogg version.

See also my notes at about improved performance in iOS 10 and the difference in resolutions we can play between ogg and webm.