zoukankan      html  css  js  c++  java
  • 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了。

  • 相关阅读:
    JSON数据格式
    段寄存器
    进程 PCB 进程挂起
    python3:文件读写+with open as语句(转)
    Python 中 'unicodeescape' codec can't decode bytes in position XXX: trun错误解决方案
    intelx86为何从0xFFFF0处执行
    Linux内核调度分析(转,侵删)
    调度器简介,以及Linux的调度策略(转)
    nm命令
    Vim文本编辑器中常用的一些命令
  • 原文地址:https://www.cnblogs.com/chenyucong/p/6288347.html
Copyright © 2011-2022 走看看