1

I am working on a tvOS application where I have to play videos from a company's own YouTube channel. As tvOS has no UIWebKit framework, and YouTube doesn't have any SDK's for tvOS, the only choice I am left with is to get access to MP4 format videos of the YouTube videos. YouTube gives access to download your own videos from your own channel but it can only be done manually. Is there any way to get access to YouTube videos using tvOS or download your own videos using code without breaching any privacy policies?

Daniel Storm
  • 18,301
  • 9
  • 84
  • 152
Sista harish
  • 23
  • 1
  • 5
  • Not YouTube bashing here, but you might consider hosting your video elsewhere. By using mp4 download instead of a streaming protocol, you'll see poor video performance at best. – picciano Aug 30 '16 at 22:18
  • Check this [SO question](http://stackoverflow.com/questions/32528624/how-to-play-youtube-content-on-tvos) if it can help you. – KENdi Aug 31 '16 at 10:20
  • Thanks for the reply. But HCYouTubeParser is breaching YouTube Privacy Policy, and tvOS Doesn't approve any applications that use these kind of API's. Look at 8.6 in [link](https://developer.apple.com/app-store/review/guidelines/2016-06-13/) – Sista harish Sep 06 '16 at 16:27

1 Answers1

0

I think that you should not download MP4 files from the YouTube. There are a lot of abilities how to play YouTube videos in tvOS applications, you can find some of them here: How to play YouTube content on tvOS .

Community
  • 1
  • 1
Roman Podymov
  • 4,168
  • 4
  • 30
  • 57
  • Thanks for the reply. But HCYouTubeParser is breaching YouTube Privacy Policy, and tvOS Doesn't approve any applications that use these kind of API's. Look at 8.6 in [link](https://developer.apple.com/app-store/review/guidelines/2016-06-13/) – Sista harish Sep 06 '16 at 16:23
  • What code did you used to play videos that was aborted by Apple? – Roman Podymov Sep 07 '16 at 16:20
  • I haven't used any code yet! but it is said in the apple website that they wont approve such apps! – Sista harish Sep 12 '16 at 21:03