Let say we've youtube video id
$vid = "g6Sji2R1kkQ";
then using feeds like
$vfeed="http://gdata.youtube.com/feeds/api/videos/$vid";
or also can use
$vfeed="http://gdata.youtube.com/feeds/api/videos?q=$vid&format=1&alt=json";
both link shows a lot of data such as title,keywords,description ...etc
within that data there is RTSP
link (video link for smartphone).
how to parse any of this gdata
links to extract the rtsp
link
i want to get it for the above id example the rtsp link should be
rtsp://v1.cache2.c.youtube.com/CiILENy73wIaGQlEknVki6OkgxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp
any help !