Adobe Flash Player

Posted augustone

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Adobe Flash Player相关的知识,希望对你有一定的参考价值。

Translation(s): English - Espa?ol - Fran?ais - Italiano - Русский - 简体中文


Flash > Adobe Flash Player


 

技术分享图片 Please note that Flash will be EOL at the end of 2020 so you should migrate any use of Flash to html5 as soon as possible.

技术分享图片

Adobe Flash Player is a multimedia platform used to add animation, video, and interactivity to Web pages. Flash is frequently used for advertisements and games.
This wiki page describes how to install the Adobe Flash Player, formerly known as the Macromedia Flash Player, on Debian systems. This page serves as the homepage of the Debian package flashplugin-nonfree.

 

End User License Agreement of the Adobe Flash Player

The newest versions of the Debian package flashplugin-nonfree have this warning in the package description:

 

WARNING: Installing this Debian package causes the
Adobe Flash Player to be downloaded from www.adobe.com.
The End User License Agreement of the Adobe Flash Player
is available at www.adobe.com.

 

Installation

 

Debian 9 Stretch

 

Firefox

1. Download the latest Adobe Flash Player for Linux from https://get.adobe.com/flashplayer/

  • On 64bit systems, it should be: flash_player_npapi_linux.x86_64.tar.gz

  • On 32bit systems, it should be: flash_player_npapi_linux.i386.tar.gz

Alternatively, you can download it from: https://get.adobe.com/flashplayer/otherversions/

2. Unpack the tar.gz file: tar -xzf flash_player_npapi_linux*.tar.gz

3. Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version:

Example: Debian 9 Stretch + Firefox 52.4.0 (64-Bit): /usr/lib/mozilla/plugins/

Example: Debian 9 Stretch + Firefox 62+ (64-Bit): ~/.mozilla/plugins/

*Please note you may have to create this directory if it does not exist*

4. Copy libflashplayer.so to the appropriate browser plugins directory: sudo cp libflashplayer.so <browserpluginlocation>

Example: sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

5. Copy the Flash Player Local Settings configurations files to the /usr directory: sudo cp -r usr/* /usr

6. Restart Firefox.

 

Chromium

1. Download the latest Adobe Flash Player for Linux from https://get.adobe.com/flashplayer/

  • On 64bit systems, it should be: flash_player_ppapi_linux.x86_64.tar.gz

  • On 32bit systems, it should be: flash_player_ppapi_linux.i386.tar.gz

2. Unpack the tar.gz file: tar -xzf flash_player_ppapi_linux*.tar.gz

3. Copy libpepflashplayer.so to the appropriate lib directory: sudo cp libflashplayer.so <browserpluginlocation>

Example: sudo cp flash/libflashplayer.so /usr/local/lib

4. Check the version of the flash plugin from the manifest.json file

Example: grep flash/manifest.json version

  • "version": "31.0.0.153",

5. Restart Chromium with parameters of flash plugin location and version: chromium --ppapi--flash-path=<browserpluginname> --ppapi-flash-version=<browserpluginversion>

Example: chromium --ppapi-flash-path=/usr/local/lib/libpepflashplayer.so --ppapi-flash-version=31.0.0.153

 

Semi-Automatic installation and/or update for Mozilla Firefox on Debian 9 Stretch

1. Download and execute this shell script (fireflashupdate) with the following commands:

wget https://raw.githubusercontent.com/cybernova/fireflashupdate/master/fireflashupdate.sh
chmod +x fireflashupdate.sh
./fireflashupdate.sh

2. Restart Firefox

 

Older Versions

Note : flashplugin-nonfree package is not in the stable distribution. Refer to the Manual update method.

  1. Ensure your /etc/apt/sources.list file includes the contrib section ( for more information see sources.list )

  2. Install flashplugin-nonfree (from section contrib):

 

# apt-get install flashplugin-nonfree

 

Update

 

Semi-Automatic update

How to update the Adobe Flash Player:

# update-flashplugin-nonfree --install

If this fails with "ERROR: wget failed to download ...", try the Manual update.

 

Manual update

When running update-flashplugin-nonfree --install you might get the following error:

ERROR: wget failed to download http://people.debian.org/~bartm/flashplugin-nonfree/D5C0FC14/fp.24.0.0.221.sha512.amd64.pgp.asc

Unfortunately this is a recurring bug, anyway you can upgrade the plugin manually following this procedure:

  1. Download the latest release of the plugin in tar.gz format from https://get.adobe.com/flashplayer/

  2. As root, extract the tar.gz package and copy libflashplayer.so to /usr/lib/flashplugin-nonfree

  3. Give the file sane permission/ownership values:
      chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so
      chown root:root /usr/lib/flashplugin-nonfree/libflashplayer.so
  4. Check that the relevant /etc/alternatives entry is correct (this shouldn‘t be required if the plugin was working properly before the upgrade) update-alternatives --list flash-mozilla.so should return /usr/lib/flashplugin-nonfree/libflashplayer.so If that‘s not the case, you can fix it with: update-alternatives --quiet --install /usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so /usr/lib/flashplugin-nonfree/libflashplayer.so 50

(the procedure is based on the one suggested at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851066#30)

Note that the filename may be libpepflashplayer.so for the PepperFlashPlayer variant.

 

Uninstall

How to Uninstall the Adobe Flash Player, and the flashplugin-nonfree package:

# update-flashplugin-nonfree --uninstall
# apt-get remove flashplugin-nonfree

 

Compatible browsers

 

Supported browsers

 

Unsupported browsers

 

Bug reporting

If you find a problem with flashplugin-nonfree, then you are most welcome to report it in the Debian bug tracking system. However, we cannot modify the Adobe Flash Player to fix problems in Debian. So if you find a problem with the Adobe Flash Player, then please report it to Adobe.

If you have found a workaround for a problem, then you are welcome to add an entry in the "troubleshooting" section below.

 

Troubleshooting

  • Proxy : The package flashplugin-nonfree has "its own internal solution" for caching the big .tar.gz downloaded from Adobe. Downloading fp10.*.pgp.asc is not cached by flashplugin-nonfree. My advice is to never use a caching proxy with flashplugin-nonfree, because a retrieval of fp10.*.pgp.asc from cache might result in a security update to be installed later than it should. If you must use a proxy because you have no direct way to the internet, then obviously you have no choice than to use the proxy. Then this should work:

    http_proxy=http://my.proxy.intranet:8080/ apt-get install flashplugin-nonfree

    or

    https_proxy=http://my.proxy.intranet:8080/ apt-get install flashplugin-nonfree

    Also this should work:

    http_proxy=http://my.proxy.intranet:8080/ update-flashplugin-nonfree --install

    or

    https_proxy=http://my.proxy.intranet:8080/ update-flashplugin-nonfree --install

    Or, with a different environment variable than http_proxy, see: http://www.gnu.org/software/wget/manual/html_node/Proxies.html

  • Remember that if you need the Flash Player to work with pulse, you can ask libasound to do so in your ~/.asoundrc:

    pcm.pulse {
        type pulse
    }
    
    ctl.pulse {
        type pulse
    }
    
    pcm.!default {
        type pulse
    }
    
    ctl.!default {
        type pulse
    }
  • To verify the Adobe Flash Player version number installed on your system, access the About Flash Player page, or right-click on content running in Flash Player and select "About Adobe (or Macromedia) Flash Player" from the menu. If you use multiple browsers, perform the check for each browser you have installed on your system. (Source: Flash player security bulletins). Flash Player 11.2 is the last supported Flash Player version for Linux. Adobe will continue to provide security updates. (Source).

  • Adobe dropped support of processors without SSE2 on Linux (you can check with "grep ^flags /proc/cpuinfo" the letters "sse2" should be in the list) in an early point release of Flash Player 11. The player will install, but then crashes when it is invoked. This mostly affects older 32bit AMD processors. You can install Flash Player 10 from Adobe, see 697339.

  • In case the plugin causes high cpu-usage, you can try this: create /etc/adobe/mms.cfg:

     # Adobe player settings
     AVHardwareDisable = 0
     FullScreenDisable = 0
     LocalFileReadDisable = 1
     FileDownloadDisable = 1
     FileUploadDisable = 1
     LocalStorageLimit = 1
     ThirdPartyStorage = 1
     AssetCacheSize = 10
     AutoUpdateDisable = 1
     LegacyDomainMatching = 0
     LocalFileLegacyAction = 0
     AllowUserLocalTrust = 0
     # DisableSockets = 1
     OverrideGPUValidation = 1

    Hardware video decoding was considered experimental in FP 10.3 and is not supported in FP 11 for stability reasons and can cause crashes. It is not documented in official Flash Player Admin Guides. Enable at user discretion.

     EnableLinuxHWVideoDecode = 1
    Otherwise, a solution for users on netbooks with an accelerated video card as Intel 945GM and Atom CPU is to downgrade to FP10, in this way you can use again the GPU acceleration features instead of wasting CPU. But this is not recommended since Adobe will only provide security updates for FP 11.2.
  • Fluent playback with Iceweasel is possible, replace the above options with the below options. This should permit for fluent HD playback with hw acceleration ( or no hw acceleration ) in the browser, except for full-screen HD depending on your machines capabilities.

 

AssetCacheSize = 50
LocalStorageLimit = 5

 

If your Chromium or Google Chrome browser window is flickering, blinking constantly on some webpages, this issue is cause by Flash player, the following steps might fix that issue.

  1. Using your browser view any webpage containing a flash video
  2. Right click on the video, select "Settings" option, uncheck "Enable hardware acceleration" option
  3. Close your browser, reopen it, right click on the video, select "Settings" option, check "Enable hardware acceleration" option



以上是关于Adobe Flash Player的主要内容,如果未能解决你的问题,请参考以下文章

adobe-flash-player离线下载方法

是否可以在 android 中实现 adobe flash player

离线下载adobe flash player

Adobe Flash Player

如何修改adobe flash player插件的默认安装路径?

CentOS 7 Install Adobe Flash Player