How would one play a YouTube video on Apple tvOS?
YouTube\'s embed feature works in iOS 9 as the OS has a UIWebView we can embed it into. The new tvOS does not incl
I used this one https://cocoapods.org/pods/youtube-parser
Youtube.h264videosWithYoutubeURL(testURL) { (videoInfo, error) -> Void in
if let videoURLString = videoInfo?["url"] as? String,
videoTitle = videoInfo?["title"] as? String {
print("\(videoTitle)")
print("\(videoURLString)")
self.playVideo(videoURLString)
}
}