RESOLVED INVALID 259707
[iOS 17] [WebAVPlayerLayer playerController] returns null
https://bugs.webkit.org/show_bug.cgi?id=259707
Summary [iOS 17] [WebAVPlayerLayer playerController] returns null
Amy While
Reported 2023-08-01 15:05:03 PDT
Tested on 21A5291j Attempting to retrieve the player controller from a WebAVPlayerLayer results in null on a YouTube video.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-08 15:05:19 PDT
Eric Carlson
Comment 2 2023-08-09 16:07:32 PDT
(In reply to Amy While from comment #0) > Tested on 21A5291j > > Attempting to retrieve the player controller from a WebAVPlayerLayer results > in null on a YouTube video. And AVPlayerLayer is only used for url-based content (HLS, MPEG-4, mp3, etc). YouTube uses MSE and so does not have an AVPlayerLayer. What are you trying to do?
Amy While
Comment 3 2023-08-09 16:25:36 PDT
I am attempting to get the AVAsset that is being played internally. There is potentially some incorrect markings of nonnull in the framework if it could always be played.
Eric Carlson
Comment 4 2023-08-14 09:40:43 PDT
(In reply to Amy While from comment #3) > I am attempting to get the AVAsset that is being played internally. There is > potentially some incorrect markings of nonnull in the framework if it could > always be played. There is no AVAsset when playing a YouTube video.
Note You need to log in before you can comment on or make changes to this bug.