Reading time: 6 min
This recipe shows how to play a YouTube video in SwiftUI. The end result looks like this:
This component is available as a Swift Package in this repo.
This recipe shows only a part of the
YouTubePlayer component's functionality, namely that to load a video, play and pause it. Thi...