adobe flash player is out of date linux,Chrome出现adobe flash is out of date的解决方法

最近使用安装了ubuntu和linux mint,都发现firefox的flash虽然能用,但还是觉得有点小问题,想使用google chrome,但无奈,一安装使用后就发现flash不能用,显示adobe flash is out of date。

经过在网上大量查找资料,终于搞好了,下面分享我的方法:

首先,安装chrome:

64 位

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

sudo gdebi google-chrome-stable_current_amd64.deb

32 位

wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

sudo gdebi google-chrome-stable_current_i386.deb

然后到/home/你的计算机用户名/.config/google-chrome/ (注意,如果不是用命令行查看,而是使用GUI的话,home/cong/下是要按ctrl+H才显示系统文件)

看看有没有PepperFlash这个目录,网上有些网友说,是在/opt/google/chrome/,我没有发现。然后,如果里面是空的话就代表chrome并没有flash插件了。

我们需要到官网下载flash player,网址:https://get.adobe.com/flashplayer/

不过这里要说明一下:

一般的浏览器使用的是npapi,即adobe flash player,但chrome则改为使用ppapi,即pepperflash。

我们这次是要下载pepper,所以必须使用chrome访问adobe的官网,因为adobe的官网下载flash是会自动检测浏览器的,如果使用firefox,会自动下载npapi,这就不适合chrome了。

下载后,压缩包里有个libpepflashplayer.so的文件,这就是pepperflash把这个.so文件拷贝到/home/你的计算机用户名/.config/google-chrome/PepperFlash这个目录下。

然后,需要让chrome启动时,自动关联这个.so文件,打开终端:

sudo vim /usr/share/applications/google-chrome.desktop

在这个配置文件的108行,“Exec=/usr/bin/google-chrome-stable %U”后加入“ --ppapi-flash-path=/home/你的计算机用户名/.config/google-chrome/PepperFlash/libpepflashplayer.so”

即变为Exec=/usr/bin/google-chrome-stable %U --ppapi-flash-path=/home/你的计算机用户名/.config/google-chrome/PepperFlash/libpepflashplayer.so

中间有个空格,保存文件。

这是重新打开chrome,在地址栏输入chrome://plugins/

确保打开了flash组件,到这里,就ok了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值