Hi after so much research i found this link which gives an xml version of the captions with timelines but when i tried to get the same thing using file_get_contents
function in php it just gives only text files.
http://www.youtube.com/api/timedtext?v=7GIDDaF26zE&lang=en
Can any one help me what i am doing wrong?