• 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了。

  • 相关阅读:
    网络测量中基于Sketch方法的简单介绍
    Reading SBAR SDN flow-Based monitoring and Application Recognition
    Reading Meticulous Measurement of Control Packets in SDN
    Reading SketchVisor Robust Network Measurement for Sofeware Packet Processing
    ovs加dpdk在日志中查看更多运行细节的方法
    后缀数组
    (转载)LCA问题的Tarjan算法
    Codeforces Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) A. Checking the Calendar(水题)
    Vijos 1816统计数字(计数排序)
    卡特兰数
  • 原文地址:https://www.cnblogs.com/chenyucong/p/6288347.html
Copyright © 2020-2023  润新知