Bug 259707

Summary: [iOS 17] [WebAVPlayerLayer playerController] returns null
Product: WebKit Reporter: Amy While <me>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: eric.carlson, me, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: Other   
URL: https://github.com/WebKit/WebKit/blob/c22c66c0cc2e6a7e33cf0087f793b3f307648f75/Source/WebCore/platform/cocoa/WebAVPlayerLayer.h#L46

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.