Bug 237058 - AbortError when trying to play HLS from SproutVideo.com
Summary: AbortError when trying to play HLS from SproutVideo.com
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-22 13:50 PST by Adam Podolnick
Modified: 2022-03-10 11:50 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Podolnick 2022-02-22 13:50:51 PST
Overview:
HLS video from sproutvideo.com fails to play. The HTML5 video element's play() method's promise rejection handler is called with an AbortError.

It doesn't appear to be making any requests for any of the media segment files or any other asset in the m3u8 playlist, so the error seems to be happening before any attempts are even made to play the video itself. This leads me to believe that the issue is with the playlist and not the video.

I've doubled checked the playlists using mediastreamvalidator and they are valid. Attempting to play a static version of the m3u8 fails in the same way, so I think we should be able to rule out issues reading the m3u8 from an objectURL as the cause.

I've only been able to test using the simulator in the latest Xcode 13.3 beta 3. I haven't been able to verify if the same issue occurs on physical devices.

Steps to Reproduce:
1) Go to https://videos.sproutvideo.com/embed/4c9ddbb81a13e6c2c4/45e60934025b1eba
2) Press the play button.

Actual Results:
The playing of the video will be aborted with an AbortError

Expected Results:
The video should play back normally as it did in previous versions of Safari.

Additional Information:
Although the signed URLs in this playlist will expire, perhaps someone will be able to determine what, if anything, is wrong with the playlist itself that is preventing the video from playing: https://sproutvideo-examples.s3.amazonaws.com/240.m3u8
Comment 1 Radar WebKit Bug Importer 2022-02-23 15:41:41 PST
<rdar://problem/89382655>
Comment 2 Smoley 2022-03-04 16:46:56 PST
Thanks for filing, This does not reproduce for me on the latest macOS 12.3 beta 5 (21E5227a) or on iOS 15.4 beta 5 (19E5241a). Are you still seeing this on the latest betas?
Comment 3 Adam Podolnick 2022-03-07 08:53:09 PST
(In reply to Smoley from comment #2)
> Thanks for filing, This does not reproduce for me on the latest macOS 12.3
> beta 5 (21E5227a) or on iOS 15.4 beta 5 (19E5241a). Are you still seeing
> this on the latest betas?

I'm only able to test using the device simulator but there hasn't been a new release of Xcode with 15.4 beta 5 for iOS. Once there is a way to test 15.4 beta 5 using the simulator, I'll be able to let you know.
Comment 4 Adam Podolnick 2022-03-10 08:49:19 PST
I was able to find an old iPhone X and installed 15.4 Beta 5 (19E5241) and can report that I am also unable to replicate the issue. Thanks for looking into this!