I've found multiple links to embed YouTube livestreams across Stack:
https://www.youtube.com/embed/live_stream?channel={CHANNEL_ID}
https://www.youtube.com/channel/{ChannelID}/live
But no one works when I use my correct channel id. It looks like YouTube doesn't support permanent links for unlisted live streams anymore. Can anyone confirm this, or does it still exist?
Or can I use the YouTube API to know what the next Stream Now video id is going to be. That could also solve my problems. However, up until now I haven't found a way to retrieve this data.
P.s. Our stream must be UNLISTED. We don't want to stream publicly.
im having issues to provide a rtmp link of my live webcast.
I need to send my rtmp link to another person im using this format rtmp://a.rtmp.youtube.com/live2/Name_webcast
But this doesn't work, i tried on vlc without luck.
I don't know if that link is for input, i need the output, so anyone can re-stream my live webcast.
Does anyone know how to get the link of the rtmp youtube webcast?
I'm getting the links from youtube settings.
The RTMP URL provided by YouTube is used for ingestion and not playback. For playback the platform offers multiple formats, depending on your device/browser. The content is meant to be viewed via YouTube so the streams are not exposed.
There are some sites on internet where they use VideoJs player to play videos from youtube. when you look at their source code it is shows something like this.
https://r1---sn-npo7enel.c.docs.google.com/videoplayback?expire=1412784736&ipbits=0&upn=nGmhLDiNQ9k&signature=9B6BA94D1BEF02870C22D4E941C48DC4E783C32A.BC6F3F47F563FC8E4FC98C374A7B5DD662E58304&itag=5&sver=3&id=o-AK3QyGdV8rMOYUPM8hXx6ac8f3WXvn8DZRbkvPtPruBi&mv=m&initcwndbps=16152500&source=youtube&sparams=id%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmm%2Cms%2Cmv%2Csource%2Cupn%2Cexpire&ms=au&key=yt5&ip=128.199.133.159&mm=31&fexp=907257%2C916941%2C924630%2C924637%2C927622%2C930666%2C931983%2C932404%2C934030%2C944312%2C946013%2C946509%2C947209%2C948703%2C952302%2C953801&mt=1412763072
Im sure its not a google drive video. its youtube video but they are playing it from docs.google.com instead of googlevideos.com. How are they getting this link?
can anybody help me with that. I need this for some reason.
It is very easy. Just replace the googlevideo.com in the youtube download url to c.docs.google.com
Thank you for asking this question. I know this after searching sometime.
YOUTUBE DOWNLOAD URL:
http://r2---sn-h557snee.googlevideo.com/videoplayback?sver=3&expire=1413317317&mv=m&mt=1413295596&ms=au&id=o-AFQYWPcu_Mgj7ApyBmoMopG3mkbxQgKxFOa3It4kBoSm&mm=31&source=youtube&initcwndbps=1216250&mime=video/mp4&ip=27.251.66.2&fexp=3300013,3300112,3300134,3300137,3300164,3310366,3310708,3312224,907257,916941,927622,930666,931983,932404,934030,936118,936222,946013,947209,952302,953801,953903&itag=18&sparams=id,initcwndbps,ip,ipbits,itag,mime,mm,ms,mv,ratebypass,source,upn,expire&signature=49C37B73B3253F473F15AF6F8292D1628B63194C.7B10B7E983B7F4288933EBB0E821C84169653F0C&ratebypass=yes&ipbits=0&key=yt5&upn=KW7cc7l_RHs&title=Aaranya%20Kaandam
CONVERTED URL
http://r2---sn-h557snee.c.docs.google.com/videoplayback?sver=3&expire=1413317317&mv=m&mt=1413295596&ms=au&id=o-AFQYWPcu_Mgj7ApyBmoMopG3mkbxQgKxFOa3It4kBoSm&mm=31&source=youtube&initcwndbps=1216250&mime=video/mp4&ip=27.251.66.2&fexp=3300013,3300112,3300134,3300137,3300164,3310366,3310708,3312224,907257,916941,927622,930666,931983,932404,934030,936118,936222,946013,947209,952302,953801,953903&itag=18&sparams=id,initcwndbps,ip,ipbits,itag,mime,mm,ms,mv,ratebypass,source,upn,expire&signature=49C37B73B3253F473F15AF6F8292D1628B63194C.7B10B7E983B7F4288933EBB0E821C84169653F0C&ratebypass=yes&ipbits=0&key=yt5&upn=KW7cc7l_RHs&title=Aaranya%20Kaandam
I know about how to play video in device. But Here I just want to know that is it possible to get streaming URL from any YouTube Video? Then how can I do it, I tried to search on google but I can not able to find my solution.
Generally I does not want to play direct stream from video, actually I want to save this URL (stream) in my buffer memory OR whatever temporary file and whenever user click on particular button then particular URL Stream is play.
Al Last I got YouTube APIs + iPhone = Cool mobile apps. But I am not sure that it's helpful in my case or not ? If anybody who worked on this API then please suggest me, Otherwise How can I get streaming URL.
Your suggestion will be appreciated.
Thanks in advance.
http://www.youtube.com/get_video_info?&video_id={VIDEO_ID}
This will not work on all files, some will display the message "This+video+contains+content+from.....". But many will work.
Is it possible to get streaming URL from any YouTube Video? - No, it is not possible without hurting the terms of service of youtube. Google has built the business model of youtube around the advertisements all over youtube, in-video banners and video ads and they want your user to see their ads. This is the reason they completely hide the video stream and would ban your app if you anyway access and stream it directly.
The only consented way to play youtube videos on iOS is to embed it into an iframe of a web view.
I wonder if anyone ever encounters this problem. I am trying to embed "The Killers - Human" Music Video.
When I did an API feed request as follow:
http://gdata.youtube.com/feeds/api/videos?v=2&alt=jsonc&q=_Q9B9LOJIXsk
It shows that the video is embeddable and is not blocked. It even states that you can embed using the following URL:
http://www.youtube.com/v/Q9B9LOJIXsk?f=videos&app=youtube_gdata
However, when I tried this and played the video, I have received an error that the video contains content from UMG and is restricted to playback on certain sites. It is SUPPOSED to be able to playback.
I have double checked all the states etc. I wonder if I have missed anything to determine if a video is not embeddable or not on certain site.
Thank you for your help.
when you open the json you can actually see this
"status":{"value":"restricted","reason":"limitedSyndication"},
"restrictions":[{"type":"country","relationship":"deny","countries":"DE"}]