Page MenuHomePhabricator

webm not playing on iOS Safari
Closed, DuplicatePublic

Description

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

To replicate: on completely updated iOS device open Safari and go to https://en.m.wikipedia.org/wiki/Pneumonia and click to view first video (looks like this)

It appears to open up a new window with the file page: https://upload.wikimedia.org/wikipedia/commons/8/8e/Pneumonia.webm, 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

JKatzWMF created this task.Aug 12 2016, 6:43 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptAug 12 2016, 6:43 PM

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 https://en.wikipedia.org/w/index.php?title=Pneumonia&mobileaction=toggle_view_desktop&useskin=minerva (desktop view with the mobile skin)?

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

@brion, any insight on this?

brion added a comment.Aug 17 2016, 6:02 PM

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.

brion added a comment.Aug 17 2016, 6:02 PM

(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.

matmarex removed a subscriber: matmarex.
brion claimed this task.Aug 17 2016, 6:03 PM

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 https://phabricator.wikimedia.org/T135869#2643272 about improved performance in iOS 10 and the difference in resolutions we can play between ogg and webm.

Jdlrobson moved this task from Backlog to Tracking on the MobileFrontend board.Nov 14 2016, 11:47 AM
Jdlrobson moved this task from Needs triage to Triaged on the Mobile board.Jul 25 2017, 5:35 PM
Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptJan 20 2018, 1:00 AM