原因
Ubuntu14.04下,除了Chromium未能支持Flash播放器的安裝外,其余像Firefox, Chrome浏覽器都支持Flash播放器的安裝。
從14.04起,Chromium
不再使用 Netscape插件API ,導致原本的 Flash Player 將無法在 Chromium 運行.
要解決這個問題,就需要用Pepper Flash Player。它是一個來自於Google的安全穩定的版本。它已經包含在了Ubuntu 軟件倉庫中。安裝它需要下載Chrome,並從中解壓出它。
主要步驟:
[code]sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install 安裝
sudo update-pepperflashplugin-nonfree --uninstall 卸載
問題
[code]sudo apt-get install pepperflashplugin-nonfree
出現以下問題:
ERROR: failed to retrieve status information from google : W: There is no public key available for the following key IDs:
1397BC53640DB551
More information might be available at:
http://wiki.debian.org/PepperFlashPlayer
解決方法
http://unix.stackexchange.com/questions/279825/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-go
pepperflashplugin-nonfree has its own key stash in /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt. Until the package is updated with the new key, you can add the key locally by executing
[code]gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551
gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'
sudo update-pepperflashplugin-nonfree --install
It is important that the new key is appended to the file (“>>”), the old key is still needed.
After this you can install the pepperflashplugin with
sudo update-pepperflashplugin-nonfree –install
The file will be overwritten when the package is updated, so you might have to do this again after an update if the maintainer hasn’t added the new key (in this case you will get the same error message again when the new version is being installed).
如果/usr/lib/pepperflashplugin-nofree不存在,則:
[code]sudo apt-get update
sudo apt-get install chromium-browser
gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551
gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'
sudo update-pepperflashplugin-nonfree --install
結果
chrome中輸入:chrome://plugins