Flash

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(fix commands to use sudo consistently)
(YouTube and WebM support)
 
(7 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
Adobe's Flash plugin cannot be included in Fedora because it is not free/libre and open source software.  Adobe does release a version of the Flash plugin for Linux, and this can be used in Firefox, Konqueror and other popular Internet browsers.  When Adobe releases a newer version of the Linux Flash plugin, it makes packages available for Fedora, but Fedora cannot include Adobe's plugin as long as it is unavailable as free and open source software.
 
Adobe's Flash plugin cannot be included in Fedora because it is not free/libre and open source software.  Adobe does release a version of the Flash plugin for Linux, and this can be used in Firefox, Konqueror and other popular Internet browsers.  When Adobe releases a newer version of the Linux Flash plugin, it makes packages available for Fedora, but Fedora cannot include Adobe's plugin as long as it is unavailable as free and open source software.
  
{{admon/note | Free alternatives to Adobe Flash | There is a free and open source alternative called [http://www.gnu.org/software/gnash/ Gnash] available in Fedora's software repositories.  Gnash can play flash videos but the audio portion of flash is often under the MP3 format which is patent encumbered.  Since Gnash uses Gstreamer, you can get additional codecs from other third party repositories but Fedora unfortunately cannot include them. There is also another free and open source alternative called [http://sourceforge.net/apps/trac/lightspark Lightspark]. Scroll below for more details on installing Gnash.
+
There are other open alternatives to Flash itself, including the patent unencumbered and free WebM,  Ogg Theora video and Ogg Vorbis audio formats. Fedora has complete support for such open formats, and Fedora includes several web browsers including Firefox, Epiphany etc that plays Ogg and WebM files directly, without any need of third party and proprietary browser plugins.
  
There are other open alternatives to Flash itself, including the patent unencumbered and free WebM,  Ogg Theora video and Ogg Vorbis audio formats. Fedora has complete support for such open formats, and Fedora includes a version of Firefox web browser that plays Ogg and WebM (Firefox 15 onwards) files directly, without any need of third party and proprietary browser plugins.}}
+
== YouTube, Vimeo and WebM support ==
  
== YouTube and WebM support ==
+
Google has open sourced an implementation of VP8 video format and combined it with Ogg Vorbis audio and an adaptation of the Matroska container, creating a new format for free and open video and audio called WebM.  YouTube is switching over to using WebM extensively and Fedora has embraced this format as well.  Current versions of Fedora support WebM by default.
  
Google has open sourced the VP8 video format and combined it with Ogg Vorbis audio and an adaptation of the Matroska container, creating a new format for free and open video and audio called WebM.  YouTube is switching over to using WebM extensively and Fedora has embraced this format as well.  Current versions of Fedora support WebM by default.  
+
The Vimeo videoportal makes intensive use of javascript, and can in most cases be accessed without the need for Flash.
  
To enable support for it in YouTube, go to http://youtube.com/html5 and click on "Join the HTML5 Beta" link in the bottom of that page. Note that all videos are not available in WebM format yet, but this is expected to happen over time.  [https://www.youtube.com/watch?v=ZkeLgjv9W08 Here] is a sample video for testing.  
+
Youtube will automaticly forward your Webbrowser to the right version, where no flash is needed if Flash is not installed on your system. Vimeo does that even more often, even if a flash player is installed.
 +
 
 +
{|
 +
|-
 +
| style="border-width: 0;" | {{admon/tip | Worth to mention | Note that not all videos are available in WebM, or an open webmedia formatm yet, but the majority of them should play just fine. }}
  
 
== Flash plugin ==
 
== Flash plugin ==
  
You have to chose either based on the hardware architecture you are using.
+
For information on installing the plugin, refer to [https://ask.fedoraproject.org/en/question/10217/ Ask Fedora Flash page]
 
+
=== x86_64 (64-bit) ===
+
<pre>
+
sudo yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm -y
+
</pre>
+
 
+
===  x86 (32-bit) ===
+
 
+
<pre>
+
sudo yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm -y
+
</pre>
+
 
+
=== Install the Adobe Flash web browser plugin ===
+
 
+
The first command imports the GPG key for the Adobe Flash plugin repository and the second command installs the plugin itself.
+
 
+
<pre>
+
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
+
sudo yum install flash-plugin -y
+
</pre>
+
 
+
== Checking the plugin ==
+
 
+
Type the following text in the Firefox address bar:
+
<pre>
+
about:plugins
+
</pre>
+
 
+
A section similar to the following should appear:
+
 
+
[[Image:Flash-check-2.png]]
+
 
+
This information tells you that the Adobe Flash plugin has been successfully installed.
+
 
+
 
+
Also check the [http://www.adobe.com/software/flash/about/ Adobe Flash Player test page]
+
 
+
== Installing the plugin on Chromium web browser ==
+
 
+
Follow all of the instructions in the Enabling Flash Plugin section. Then:
+
 
+
- on 64-bit, create a symbolic link that tells Chromium how to find the 64-bit plugin:
+
 
+
<pre>
+
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib64/chromium-browser/plugins/libflashplayer.so
+
</pre>
+
 
+
- on 32-bit, create a symbolic link that tells Chromium how to find the 32-bit plugin:
+
<pre>
+
sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/chromium-browser/plugins/libflashplayer.so
+
</pre>
+
 
+
 
+
- Exit all Chromium windows and restart Chromium.
+
 
+
- In the Chromium address bar, type "about:plugins" to check whether the plugin loaded. You may have to re-run Chromium with the --enable-plugins command line switch to force Chromium to re-scan its plugins folder.
+
 
+
== Installing Gnash ==
+
 
+
Fedora includes a free and open source Flash player called Gnash.  Gnash is very modular and includes plugins for Mozilla and Konqueror as well as a desktop player.  You likely want the Mozilla plugin.
+
 
+
Use PackageKit or run the following as root user
+
 
+
<pre> sudo yum remove nspluginwrapper -y
+
sudo yum install gnash-plugin -y</pre>
+
 
+
If you use Konqueror as your web browser,
+
 
+
<pre> sudo yum install gnash-klash -y</pre>
+
 
+
If you would like to have a desktop flash player,
+
 
+
<pre> sudo yum install gnash -y</pre>
+
 
+
Note that Flash often relies on MP3 for audio and Fedora cannot include support for it since it is a patent encumbered format.  Gnash uses the Gstreamer multimedia framework and hence additional multimedia codecs can be installed separately.  [[Third party repositories]] might provide such codecs.
+

Latest revision as of 23:20, 26 June 2014

This page contains information on Flash, a proprietary format for delivering audio and video content, primarily over the Internet.

[edit] Flash is non-free/proprietary software

Adobe's Flash plugin cannot be included in Fedora because it is not free/libre and open source software. Adobe does release a version of the Flash plugin for Linux, and this can be used in Firefox, Konqueror and other popular Internet browsers. When Adobe releases a newer version of the Linux Flash plugin, it makes packages available for Fedora, but Fedora cannot include Adobe's plugin as long as it is unavailable as free and open source software.

There are other open alternatives to Flash itself, including the patent unencumbered and free WebM, Ogg Theora video and Ogg Vorbis audio formats. Fedora has complete support for such open formats, and Fedora includes several web browsers including Firefox, Epiphany etc that plays Ogg and WebM files directly, without any need of third party and proprietary browser plugins.

[edit] YouTube, Vimeo and WebM support

Google has open sourced an implementation of VP8 video format and combined it with Ogg Vorbis audio and an adaptation of the Matroska container, creating a new format for free and open video and audio called WebM. YouTube is switching over to using WebM extensively and Fedora has embraced this format as well. Current versions of Fedora support WebM by default.

The Vimeo videoportal makes intensive use of javascript, and can in most cases be accessed without the need for Flash.

Youtube will automaticly forward your Webbrowser to the right version, where no flash is needed if Flash is not installed on your system. Vimeo does that even more often, even if a flash player is installed.

Idea.png
Worth to mention
Note that not all videos are available in WebM, or an open webmedia formatm yet, but the majority of them should play just fine.

[edit] Flash plugin

For information on installing the plugin, refer to Ask Fedora Flash page