In my app I'm trying to play an Apple Music video using
VideoPlayer(player: AVPlayer(url: video.url!))
where "video" is a MusicVideo instance but all I get is a blank player. video.title and video.artistName work fine
I've tried using fileURLWithPath and string also, which work with hosted videos no problem
(apologies for the poor use of terms, newbie)
-
—
AntMaz
Add a CommentIs the only way to view MusicVideos through a WKWebView?