Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Give the excessive use of CPU while playing flash videos, I am interested in using mplayer or vlc instead. I tried the greasemonkey script with this userscript in Firefox and Chrome, but it kept saying the scripts are pretty old and needs updating.

Also, I tried a workaround from webupda8.org but did not work either.

Anyone has a better / updated script or solution? Thanks.

share|improve this question
    
Did you try this one‌​. Works for me. Still, far from ideal. –  user55822 Nov 24 '12 at 14:38

4 Answers 4

up vote 1 down vote accepted

If you just want to abandon flash you might be interested in

yt-download

which you can use to download videos from youtube (and some other sites) and watch them using any player you choose.

There was an add-on for Firefox some while ago wich automaticly replaced the flash-video by a native player and add some controlls but it was abandoned. It might still work but that is not for sure

The original thread by the author: http://ubuntuforums.org/showthread.php?t=1487327

Or you could use this script: https://userscripts.org/scripts/show/87011

share|improve this answer
    
This is what I get when I install the script "The video should be loading. If it doesn't load, make sure a video plugin is installed. If you think it's a script issue, please report it here." –  Ubuntuser Nov 25 '12 at 13:59
    
You need to install browser-plugin-vlc and/or totem-mozilla –  user0815 Nov 25 '12 at 14:06
    
totem-mozilla is already installed. –  Ubuntuser Nov 25 '12 at 19:01
    
Have you tried installing browser-plugin-vlc? Did it help? –  user0815 Nov 26 '12 at 20:01

This is a topic with which I have been deeply interested myself. I am a performance enthusiast / efficient computing kinda guy. I specialize in optimizing software to suit hardware. One app of a particular lightweight dist I've taken a love to is a GTk-based youtube browser. Featured in ANTIX Linux. It is more or less a single-paged superquick youtube.com meta searcher - which itself inturn launches MPLAYER at the request of any listed video.

This entire setup intrigued me as it got me thinking about the bit of code the programmer(s) used to get their GTK youtube searcher to pass an URL/steaming media to mplayer.

In that line of investigation, I stumbled across this:: http://www.commandlinefu.com/commands/view/1405/stream-youtube-url-directly-to-mplayer.

And there, voila, a bit code resembling that which likely was used with this youtube-browser app that comes in Antix Linux (Great distro).

share|improve this answer

Yes, VLC Player can also play YouTube videos and DailyMotion videos on your desktop. I have read a blog show you How to play YouTube videos directly in VLC Media Player step by step. May be you can go have a look. http://samsung-center.blogspot.com/2012/11/how-to-play-youtube-videos-directly-in.html

share|improve this answer

You can directly play Youtube videos from VLC media player. In VLC menu, go to Media > Open Network Stream and enter the video URL.
Youtube Video
If you get a lua error , you need to update your VLC's youtube parser as explained in this answer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.