Page MenuHomePhabricator

Videos unplayable on Safari via Apple devices running iOS 11–15
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Use an Apple device running iOS/iPadOS 11–15, like iPhone 5s (runs iOS 12.5.7), iPhone 6s (runs iOS 15.8), or iPad mini 4th-gen (iPad 15.8)
  • Open Safari app
  • Browse any article or page running videos, like ones from Commons's Media of the Day
  • Try to play any available video.

What happens?:

Videos have failed to load in Apple devices running iOS 11, 12, 13, 14, and/or 15. To run videos properly, I have to download a video, install an individual video player (e.g. VLC app), and run a video with the installed separate compatible player app.

What should have happened instead?:

Videos should have loaded well on the web VideoJS player.

Other information (browser name/version, screenshots, etc.):

  • Safari 12 on iOS, Safari 15 on iOS

from Safari on iOS 12.5.7:

IMG_0024.png (2,048×1,536 px, 174 KB)

from Safari on iOS 15.8:

IMG_0102.png (1,242×2,208 px, 158 KB)

Event Timeline

brooke subscribed.

Should work on iOS 12 and up iirc, I'll have to run more tests

Iniquity subscribed.
In T354501#9440126, @brion wrote:

Should work on iOS 12 and up iirc, I'll have to run more tests

The same problem with ogg files but in Chrome.
https://commons.wikimedia.org/wiki/File:Research_Project_X-15_-_development_of_the_X-15_rocket_plane.ogg

Not the same, I'm pretty sure (also fails on latest mobile ios and desktop macos). This is an older broken m3u8 file.
Interestingly enough, I purged the transcode, which regenerates the m3u8 file, but it seems we do not do cache purging for the m3u8 file, as i'm getting a manifest from the 18th of feb.

https://upload.wikimedia.org/wikipedia/commons/transcoded/3/35/Research_Project_X-15_-_development_of_the_X-15_rocket_plane.ogg/Research_Project_X-15_-_development_of_the_X-15_rocket_plane.ogg.m3u8

< HTTP/2 200
< content-type: application/vnd.apple.mpegurl
< x-object-meta-sha1base36: j72evtblzs1b10d1hxgk247ahht4i1q
< etag: 509d57e81984e11ba69e36dcdf36b948
< last-modified: Sun, 18 Feb 2024 14:34:49 GMT
< content-length: 428
< date: Thu, 22 Feb 2024 19:53:50 GMT
< server: envoy
< age: 426
< x-cache: cp3075 miss, cp3075 hit/32
< x-cache-status: hit-front
< server-timing: cache;desc="hit-front", host;desc="cp3075"
< strict-transport-security: max-age=106384710; includeSubDomains; preload
< report-to: { "group": "wm_nel", "max_age": 604800, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] }
< nel: { "report_to": "wm_nel", "max_age": 604800, "failure_fraction": 0.05, "success_fraction": 0.0}
< x-content-type-options: nosniff
< access-control-allow-origin: *
< access-control-expose-headers: Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache
< timing-allow-origin: *
< accept-ranges: bytes
<
#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="stereo.audio.mp3",NAME="Stereo (MP3)",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="Research_Project_X-15_-_development_of_the_X-15_rocket_plane.ogg.stereo.audio.mp3.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="stereo.audio.opus.mp4",NAME="Stereo (Opus)",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="Research_Project_X-15_-_development_of_the_X-15_rocket_plane.ogg.stereo.audio.opus.mp4.m3u8

Looking at the code, it does indeed seem like we only do CdnCacheUpdates for deleted files, not for overwritten files (aka, when transcoded files and especially m3u8 are updated). scratch that

@bvibber any idea where the logs for webtranscode end up these days ? videoscaler.discovery.wmnet is awfully silent since monday.

This is confirmed working on iOS 15.8.1 / iPhone SE first-gen and iOS 10.3.3 / iPhone 5S. Could be improved by better codecs (separate issue).

gh87 reopened this task as Open.EditedMar 22 2024, 7:02 AM

Most videos play well, alright. Certain videos still won't load, most of them non-free or using lo-res lower than SD 360. Not just Wikipedia app, but mobile web as well.

See examples at T354502#9643748

Being covered on T354502. No need to re-open here, there's no difference between the app and mobile web for this purpose.