Stream video from YouTube Channel. You can make your own tvOS app with single line of code. You just need to add your channel ID into source code. All of the necessary information about video such as screenshot description, title and video itself are automatically filled in the app. This is a fully functional app comes with all artwork and source files. Written with Swift 3.0 in Xcode 8.2 – tvOS 10 for new Apple TV. You can easily modify app for YouTube channel Actually you can need to copy/past add your Channel ID.
This is a swift 3 code and you can open with latest Xcode version (Xcode 8.2 currently – tvOS10). Main controller is “ViewController.swift” If you want to change anything either you need to ViewController.swift or storyboard files. This app does not require TVML or server or any script language. It is written by native Swift code and interface builder. It can work standalone
Check out demo video: https://youtu.be/JRIdePqnUEw
How to set up:
Open config.swift file on Xcode and copy/paste your channel ID from our YouTube URL. It should be channel not user ID otherwise it will not work Example YouTube URL: https://www.youtube.com/channel/UCsooa4yRKGN_zEE8iknghZA You just need to copy/past this part of the URL : UCsooa4yRKGN_zEE8iknghZA
There is no official tvOS support from YouTube. So if you want to upload this source code to app store that your own risk of rejection. This is not an official YouTube player but you can use on your Apple TV without any issues. Because of YouTube limitations, music channels and live steaming are not supported as well.