Play Videos Without Using Flash
What's Wrong with using Adobe Flash?Adobe Flash is used to deliver many of the videos, advertisements, and browser-based games on the Web. Unfortunately, the .swf format and Adobe's official player are proprietary. But for those who value their freedoms, there are alternatives.
Free FormatsThe use of free video formats on the web is the preferred method of playing video on the web. User adoption of free formats encourages their use by websites. Secondly, because they can be supported by Free Software natively they tend to perform better.
If you want to share a video, it would be better to do it on a GNU MediaGoblin instance, instead of YouTube or other centralized video-sharing websites.
There are two main free video formats suitable for use on the web:
- Ogg Theora, is a video codec derived from On2's VP3 codec.
- WebM, is a video codec that was freed by Google after its acquisition of On2.
|Format||Mozilla based browsers (e.g. Abrowser, GNU IceCat)||Konqueror||Epiphany|
|Ogg||Version 3.5 and above||Version 4.4 and above||Version 2.2.8 and above|
|WebM||Version 4.0 and above||Yes||Requires version of GStreamer that supports WebM|
Flash ReplacementsThere are two actively developed free software Flash players:
- Gnash, the GNU SWF player, which is being actively developed and relies on the gstreamer and ffmpeg backends to perform. It has good compatibility up to SWF 8 and 9.
- Lightspark, a recent project that offers accelerated rendering using OpenGL shaders and good support for current Actionscript 3. It is currently not included in the Trisquel repos but can be easily obtained from Launchpad PPAs.
YouTubeYouTube is the one of the largest video sharing websites on the internet.
There are multiple methods of watching videos on YouTube without depending on Adobe Flash.
HTML5 and WebMUse of the YouTube HTML5 player and the WebM format is the preferred method for watching video on the site. Google has committed its resources to converting YouTube's catalog to WebM. To do this two requirements must be met.
- Use a browser that supports WebM (e.g. Abrowser or GNU IceCat version 4.0 or above).
- Join the YouTube HTML 5 Beta (This may not be necessary anymore, because of plugins like Youtube All HTML5)
Videos that have been converted should play with the HTML5 player:
YouTube can also be viewed and searched for using SMTube. In order to install it just run the following commands:
$sudo add-apt-repository ppa:rvm/smplayer
$sudo apt-get update
$sudo apt-get install smtubeIn SMTube's preferences you can select preferred format and preferred video player (which will be used to play back the video file).
DailymotionDailymotion is another video sharing website. It offers an HTML5 player which supports Ogg Theora.
HTML5 and Ogg TheoraTo view Ogg Theora videos in HTML5 on Dailymotion the user must:
- Enable the HTML5 player with a supported browser.
- View a trans-coded video (when available). Not all videos have been converted to Ogg Theora.
Video WithOut Flash
Video WithOut Flash is an add-on to Firefox and derived Web browsers such as Abrowser. It supports Youtube, Blip, HTML5, Dailymotion, NicoNico, and FC2.
Linterna MágicaLinterna Mágica is a Greasemonkey userscript that aims to support many websites and browsers. It replaces Flash objects, so you can watch video with a browser video plugin.
There are some patterns common between video sharing and posting sites that Linterna Mágica is using, so it supports a lot of sites. In most cases it will work without modification. Some websites even have high definition support.
Supported browsers are:
- Firefox & compatible browsers, such as Abrowser, GNU IceCat and IceWeasel.
Supported video plugins are:
- Totem plugin
- VLC plugin
- Xine plugin
This is a short list of supported websites:
Youtube All HTML5
This is a greasemonkey script, similar to Linterna Magica, that forces Youtube's HTML player to render videos. It is believed to work with Vimeo, Daily Motion and Blip.tv, as well.
For those wishing not to use Greasemonkey scripts, there's a Mozilla browser plugin called Unplug, that provides a context menu from which you can choose direct links to embedded audio and video media on any page. Install Unplug by selecting it from the 'plug-ins' tab on your Mozilla browser's 'add-ons manager'. Be sure to select 'always activate' from the preferences. To use Unplug, visit a page containing media, such as that of a YouTube video, and select unplug from the browser's 'tools' menu. You can play your media in the current window, a new tab, the current tab, or an external application. For best results, I recommend using the 'copy link', option and pasting the link into a command line, where I launch VLC media player.
Disabling Gnash Plugin
To disable the browser plugin for Gnash, in a Mozilla browser, visit the add-ons manager, and select the Plugins page. Next to the plugin's description, select "never activate" in the control labeled 'when this plugin activates'. This does not remove the Gnash application from your system. ~~~~
ViewTubeViewTube is a Greasemonkey userscript similar to Linterna Mágica. More websites, in particular sites of TV channels, are supported through the additional installation of ViewTube+.
Support for HD video exists, including 720p and 1080p.
Script works with Firefox based browsers (Abrowser, IceWeasel, IceCat etc), Epiphany and Midori.
Short list of ViewTube supported websites:
I suggest using ViewTube_GM and VLC to avoid some issues and be able to fast forward as described in the following forum post.
Or you can be smart and see it all later offline
Or you can be smart and install Download Flash and Video. It has a free license: MPL2.0. And it just works. This way you save bandwidth too as you don't have to download the same thing twice.
How You Can Help
- Use free alternatives to Flash whenever possible.
- Contribute (financially or with code) to the development of free alternatives.
- Let your friends know that most of the videos and games on the web rely on a single company's proprietary standard to function, and why this is bad for an free Internet.
- If you develop online games, don't use Adobe Flash, and release the program under a free license.