string host = "http://youtube.com/v/";
string end = ".flv";
WebClient Client = new WebClient ();
StreamReader sr = new StreamReader(@"ids.txt");
string line;
do
{
line = sr.ReadLine();
Client.DownloadFile(host+line+end,line+end);
}
while (line !=null);
sr.Close();
Works fine but later than i shall run the flv/video this gives me this error >
An error occurred when the file plays in Windows Media Player
Why, What i'm doing wrong?