|
hi,i made a simple project with a wmp and a txtbox i can insert the url of a media file and press f5 and it starts playing,sometimes this url is a link from the internet not from the computer.if it was from the internet,so how can i save (download)it to the computer?.And how can i make it extract the media url from the link? if i have an mp3 file link from 4shared.how can i make it extract the url of the media file and play it and an option to download it ? well the way i thought of is to view the source of the file and search for a link with name starting with someting and then set it as url of wmp and play it and have an option to download it. is it possible?.is there a better way to do this? i hope i am clear enough
oh,i've found a part of the code TextBox1.Text = WebBrowser1.DocumentText i will make the link be opened by a webbrowser and then view the code now the part i need is how to extract the url of the audio file and play it and then i will look for a way to download it after that.
This post has been edited by narmer93: 9 Oct, 2008 - 05:56 AM
|