Youtube Downloader [Expired]

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
34 posts Page 2 of 4
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

Great tutorial. Its rare to see one of this around the internet...
User avatar
TheET
VIP-Member
VIP-Member
Posts: 105
Joined: Sun Nov 01, 2009 2:41 am

Thanks CodenStuff 4 VIP status !

If you want to save it as .avi or other video formats , just add a converter into your Youtube Downloader . You can learn how to make a video converter in Visual basic at Youtube , just search it & there will be a lot of results .
User avatar
hiyadutch
New Member
New Member
Posts: 18
Joined: Thu Dec 10, 2009 8:45 pm

... i already tried that but it doesn't work. it can only be opened with VLC media player
User avatar
hiyadutch
New Member
New Member
Posts: 18
Joined: Thu Dec 10, 2009 8:45 pm

hey, you can't put a flv player in vb.net but you can open it like process.start ("then the player") if they put it in the right map for this one (a rly simpel one i found) you dont need anything do dowload/instal
You do not have the required permissions to view the files attached to this post.
User avatar
TheET
VIP-Member
VIP-Member
Posts: 105
Joined: Sun Nov 01, 2009 2:41 am

Ok
User avatar
polas
New Member
New Member
Posts: 13
Joined: Sun Dec 20, 2009 6:32 pm

Hei man it works 100% ;)
can you know how to convert not to mp4 but to mp3 ;)?
User avatar
TheET
VIP-Member
VIP-Member
Posts: 105
Joined: Sun Nov 01, 2009 2:41 am

That means it extract the song from the video ?
I haven't try out that , try search the internet for the conversion tutorial then implent into your youtube downloader .
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Hello,

Heres something you could maybe add to this downloader, a thumbnail preview of the video your downloading.

Add a picturebox control to the form and size it to 120,90 pixels then add this code into "Button1_Click" event:
Code: Select all
 Dim thumb = TextBox1.Text
        thumb = thumb.Replace("http://www.youtube.com/watch?v=", "http://i3.ytimg.com/vi/")
        thumb = thumb + "/default.jpg"
        Try
            PictureBox1.Load(thumb)
        Catch ex As Exception
        End Try
sshot-1.png
And/or If you want to add actual video preview to it just add the "ShockwavePlayer" control to your form and use this code:
Code: Select all
Dim previd = TextBox1.Text
        previd = previd.Replace("http://www.youtube.com/watch?v=", "http://www.youtube.com/v/")
        Try
            AxShockwaveFlash1.LoadMovie(0, previd)
        Catch ex As Exception
        End Try
sshot-2.png
Aslong as people enter download URLs like: http://www.youtube.com/watch?v=6abjgzXracc then it should work fine :D. Needs a bit of tweaking but it works.



Happy coding cooll;
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
TheET
VIP-Member
VIP-Member
Posts: 105
Joined: Sun Nov 01, 2009 2:41 am

Great job , i haven't tought of that too .
User avatar
TheET
VIP-Member
VIP-Member
Posts: 105
Joined: Sun Nov 01, 2009 2:41 am

Yeah , if a person click a video from a feature list , it will not work .

You can fix it by using the the replacement tacnic in the code . Replace the extra "&feature=rec-fresh+div-r-2-HM" word with a blank"" , then it will work :)
34 posts Page 2 of 4
Return to “Tutorials”