Play Youtube Videos Directly in Mplayer
Mplayer is the default Linux video player, and forms the base for many other player. It is pretty much like the windows Media Player Classic. The only difference here is that, Mplayer is for Linux, so there is an array of hacks and tweaks you can do with Mplayer.

MPlayer
One cool hack is playing Youtbe videos directly into your Mplayer. Yes, you can play youtube videos as live streams directly into Mplayer, without downloading them.
Go to your terminal and type this.
mplayer -fs $(echo "http://youtube.com/get_video.php?$(curl -s $youtube_url | sed -n "/watch_fullscreen/s;.*(video_id.+)&title.*;1;p")")
Replace the text “youtube_url” with the URL of the video you intend to watch.
This command queries youtube for an flv link to the video. The same command works for VLC as well with the proper switch for initializing from command line.
As simple as that, do let me know if there is any way to do this on Windows Media Player Classic.
Comment Using Facebook
2 Responses to this Article | Share your Opinions/Comments
We moderate comments to prevent spam. Moderation is done within few hours. Please try and stay on topic and refrain from using abusive language. If you think there is a problem with this post, please email the post author or send us an email at tips@techie-buzz.com with the URL and the problem you see and we will rectify it as soon as we can.

VLC player also plays youtube videos. to play go to Menu and then open network stream, insert the youtube url and hit play. your video will start playing
ya, sure that can be done. I was talking about a command line thing.