Tested on 21A5291j Attempting to retrieve the player controller from a WebAVPlayerLayer results in null on a YouTube video.
<rdar://problem/113588630>
(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?
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.
(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.