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
Tested on 21A5291j
Attempting to retrieve the player controller from a WebAVPlayerLayer results in null on a YouTube video.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113588630>
Eric Carlson
(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
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
(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.