Stop using flash? Or improve the flash experience?

On sites that support it, set videos to use HTML5.

For flash only sites you could use one of the free flash implementations - Gnash and Lightspark.

If you want to avoid flash plugins completely, you can attempt to download the video and then play with VLC. There are some programs that can help to do this. The following are available from the software repositories:

  • youtube-dl (command line) - downloads videos from youtube
  • clive (command line) - downloads videos from a number of websites
  • cclive (command line) - a C++ rewrite of clive
  • abby (graphical) - A GUI frontend to clive or cclive

Not all video websites are supported but for some that aren't you may be able to find the URL of the video that is streaming and download it using wget or a GUI downloader such as d4x. Finding the video URL will require looking at the HTML code. To do this in chromium, you can right click next to the video and click 'inspect element'. You will be able to find the video URL within <embed></embed> tags. It will typically have a .flv or .avi extension. This will only work for websites that do not encrypt the URL (like youtube and megavideo do).

You can 'stream' a video (play it while it is downloading) by opening VLC and using Media->Open File... and locating the video or running vlc FILE in a terminal.

There are also browser extensions available, such as this one for firefox.


If you want to avoid flash and still go ahead and watch YouTube videos, install LightSpark, an open-source implementation of the Flash Player that works well in Ubuntu. Just run the below commands in a terminal (Applications->Accessories->Terminal):

sudo apt-get remove flashplugin-installer

The above commmand is to make sure you don't have flash installed. After that, to install lightspark, run the below commands:

sudo add-apt-repository ppa:sssup/sssup-ppa
sudo apt-get update
sudo apt-get install lightspark

Then close and start your browser (Chromium/Firefox) again to begin using LightSpark


For YouTube videos you can use minitube

sudo apt-get install minitube

Minitube is a YouTube desktop client. With it you can watch YouTube videos in a new way: you type a keyword, Minitube gives you an endless video stream. Minitube is not about cloning the original YouTube web interface, it aims to create a new TV-like experience.

Minitube does not use the Flash Player.

http://flavio.tordini.org/minitube

Tags:

Flash

Browser