I have read this document on how to play youtube video in iOS app. But for some video I am getting error "Restricted Video.
This app is playing restricted video also.'Musify Video Tube For YouTube - Free Music Player and Streamer'
Which player or SDK or api to play restricted video?
Finally got solution with this https://github.com/0xced/XCDYouTubeKit.
*Yes its against terms and condition of youtube.
Related
Is there a way to get the youtube video without the youtube player? The youtube player sdk - https://developers.google.com/youtube/android/player/
uses the existing youtube player, I need the url that it uses to play the video, so that I can use my custom video player. More of using youtube as a hosting service, where I can pull the videos from the server from which youtube player pulls it. Don't know if it is possible or legal.
We are able to play youtube videos by fetching the data using Youtube API for iOS Application. We would like to play a set of videos continuously like a playlist. Can someone guide us through this issue. we tried using different players but none of them are working for youtube links. we have used MPMoviePlayerViewController but it doesn't play videos continuously, and AVQueuePlayer we were able to play MP4 videos stored in the app but unable to play youtube links.
It would be a great help if someone can help us
Thanks in advance.
Can I use youtube player to play my own videos?
Say I have a localhost running and I have some video files stored and I have a html code that has Youtube player's code and I can specify something like
<src="localhost/videos/cat.avi">
And it plays cat.avi on my browser just like youtube player.
No - you can't play local videos using youtube player.
If you want to play them you'll need to upload them to youtube.com.
Check out Play a local video with YouTube Player
In my app I have played a youtube video by embedding it, but how can i only play the audio of the video? I tried using AVAudioPlayer and use the videos url as the file path but it didnt work, any help?
No it is not possible, only one workaround is just to use a hidden UIWebView and play in that.
Youtube forbids playing audio only! here is the message from youtube
Your API Client will not, and You will not encourage or create functionality for Your users or other third parties to: "separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API"
-Kuan Yong, YouTube API Team
I built my own flash movie player. now I want to consume youtube videos and play them in my own flash player, so that the end user does not see any indication that the videos are housed on youtube. Does the youtube api allow me to do this?