Flash播放器(在Firefox中)在14.04中不稳定

对于13.10,我使用本指南在Firefox中获得支持Intel iGPU的Flashvideo播放: http : //www.webupd8.org/2013/09/adobe-flash-player-hardware.html

总而言之,英特尔对闪存内容的图形加速在13.10中运行得很好,至少在我的机器上(使用Xubuntu)。

我基本上按照指南为14.04做同样的事情,但大约2-3周前,Flashvideo开始表现。 每当我在一个标签中暂停或停止一个闪存实例并转到下一个标签以继续Soundcloud上的某些歌曲时,它就会结束游戏。

我对这里能做什么一无所知。 在此期间有什么变化吗?

这是一个在firefox上安装最新版本的Pepper flash的脚本。 它可能会解决您的问题。 https://db.tt/rHEJ2e0l

运行它,打开终端,cd进入脚本所在的位置并安装类型:

chmod + x freshplayer_maintainer.sh; ./freshplayer_maintainer.sh

其余的应该是自我解释的

以下是Tatakai Wasumi上面回答的代码,以防他们的Dropbox链接变成kaput。

#!/bin/bash # ---------------------------------- # Author: Jonathan Soivilus # This script facilitates the installation and maintenance of freshplayer plugin on Debian based systems # Fresh player wrapper is mainly developed by i-rinat https://github.com/i-rinat/freshplayerplugin # Version 1.1 # To run this scrip, open the terminal type: chmod +x freshplayer_maintainer.sh; ./freshplayer_maintainer.sh function install_plugin(){ echo "Getting dependencies..." HWFILE=/opt/google/chrome/PepperFlash/libpepflashplayer.so; if [ -f $HWFILE ];then sudo apt-get install build-essential git cmake pkg-config libglib2.0-dev libasound2-dev libx11-dev libgl1-mesa-dev libgles2-mesa-dev liburiparser-dev libcairo2-dev libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libfreetype6-dev libgtk2.0-dev libxinerama-dev libconfig-dev libevent-dev; else sudo add-apt-repository -y ppa:skunk/pepper-flash; sudo apt-get update; sudo apt-get install --no-install-recommends pepflashplugin-installer; sudo apt-get install build-essential git cmake pkg-config libglib2.0-dev libasound2-dev libx11-dev libgl1-mesa-dev libgles2-mesa-dev liburiparser-dev libcairo2-dev libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libfreetype6-dev libgtk2.0-dev libxinerama-dev libconfig-dev libevent-dev ragel; sudo mkdir -p /opt/google/chrome/PepperFlash; sudo ln -s /usr/lib/pepflashplugin-installer/libpepflashplayer.so /opt/google/chrome/PepperFlash; fi cd; git clone https://github.com/i-rinat/freshplayerplugin.git; cd freshplayerplugin; mkdir build; cd build; cmake ..; make; echo "" while true do read -p "Install plugin system wide? [Y/N] " yn case "$yn" in y|Y) sudo ln -s ~/freshplayerplugin/build/libfreshwrapper.so /usr/lib/mozilla/plugins break;; n|N) mkdir -p ~/.mozilla/plugins; ln -s ~/freshplayerplugin/build/libfreshwrapper.so ~/.mozilla/plugins break;; * ) echo -e $RED "Invalid Choice";; esac done echo "" echo "Installation complete!" echo "" } function uninstall_plugin(){ rm -rf ~/freshplayerplugin; HWFILE=~/.config/freshwrapper.conf; FRESHFILE=/usr/lib/mozilla/plugins/libfreshwrapper.so; FRESHFILE2=~/.mozilla/plugins/libfreshwrapper.so; sudo rm -f $HWFILE $FRESHFILE $FRESHFILE2; } function update_plugin(){ cd ~/freshplayerplugin; git pull; cd build; cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..; make; } function enable_disable_hW(){ HWFILE=~/.config/freshwrapper.conf; if [ -f $HWFILE ]; then rm $HWFILE; printf "Hardware acceleration DISABLED \n\n" else echo exp_enable_3d = 1 > $HWFILE; echo "flash_command_line = \"enable_hw_video_decode=1,enable_stagevideo_auto=1\"" >>$HWFILE printf "Hardware acceleration ENABLED \n\n" fi } function enable_disable(){ FILELOC1=~/freshplayerplugin/build/libfreshwrapper.so; FILELOC2=/usr/lib/mozilla/plugins/libfreshwrapper.so; FILELOC3=~/.mozilla/plugins/libfreshwrapper.so; if [[ -f $FILELOC2 || -f $FILELOC3 ]]; then sudo rm -f $FILELOC2 $FILELOC3; printf "fresh player plugin DISABLED \n\n" else while true do read -p "Enable system wide or not [Y/N]: " yn case "$yn" in y|Y)sudo ln -s $FILELOC1 /usr/lib/mozilla/plugins break;; n|N) ln -s $FILELOC1 ~/.mozilla/plugins break;; * ) echo -e $RED "Invalid choice";; esac done printf "fresh player plugin ENABLED \n\n" fi } k=1 clear printf "Welcome to fresh player plugin Maintainer v1.1 \n\n" PS3='Choose an option: ' options=("Install freshplayer plugin" "enable or disable hardware acceleration" "enable or disable plugin" "update plugin" "uninstall plugin" "Quit") select items in "${options[@]}" do case $items in "Install freshplayer plugin") install_plugin; ;; "enable or disable hardware acceleration") enable_disable_hW ;; "enable or disable plugin") enable_disable ;; "update plugin") echo "Updating fresh player plugin..." update_plugin echo "" ;; "uninstall plugin") echo "uninstalling plugin..." uninstall_plugin echo "" echo "fresh player plugin has been successfully removed from your system" echo "" ;; "Quit") break ;; *) echo -e $RED "invalid option";; esac for i in "${options[@]}" do echo $((k++))")$i" done k=1; done clear 

可以与Chromium Web浏览器一起安装的更新的Pepper Flash Player将以更少的故障运行(例如全屏不起作用,video上的按钮不起作用,video在暂停后挂起然后按下播放许多Flashvideo比Adobe Flash Player恢复等按钮。

您可以从Ubuntu软件中心在Ubuntu 14.04中安装Chromium Web浏览器和Pepper Flash Player。 打开Ubuntu软件中心,搜索Chromium Web BrowserPepper Flash Player – 浏览器插件并安装它们。

如果已发布更新版本的Pepper Flash Player并且您想将Pepper Flash Player更新到最新版本,则可以使用以下命令从终端执行此操作:

 sudo update-pepperflashplugin-nonfree --install 

自从Google于2016年3月在32位Linux上终止对Chrome的支持以来,无法在32位操作系统上使用以下命令更新Pepper Flash Player。如果您使用的是Ubuntu 32位,则在2016年3月之前使用Ubuntu 32位,您可以使用以下命令从终端将Pepper Flash Player更新到最新版本:

 sudo update-pepperflashplugin-nonfree:i386 --install 

这两个命令中的任何一个都将下载最新版本的谷歌浏览器(文件大于40MB),然后只更新Pepper Flash Player与更新版本的谷歌浏览器附带的Pepper Flash Player而不安装谷歌浏览器。

如果已发布更新版本的Pepper Flash Player并且您想将Pepper Flash Player更新到最新版本,则可以使用以下命令从终端执行此操作:

 sudo update-pepperflashplugin-nonfree --install 

如果您使用的是32位Ubuntu,可以使用以下命令从终端将Pepper Flash Player更新为最新版本:

 sudo update-pepperflashplugin-nonfree:i386 --install 

这两个命令中的任何一个都将下载最新版本的谷歌浏览器(文件大于40MB),然后只更新Pepper Flash Player与更新版本的与谷歌浏览器捆绑的Pepper Flash Player而不安装谷歌浏览器。

如果将Pepper Flash Player更新到最新版本失败,并显示如下错误:

 ERROR: failed to retrieve status information from google : W: There is no public key available for the following key IDs: 1397BC53640DB551 

这是因为谷歌改变了签名密钥。 要修复它,请运行以下命令:

 gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551 gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt' 

…然后再次尝试将Pepper Flash Player更新到最新版本。

更新

这些说明将为Chromium安装Pepper flash player,它也会自动更新。 由于Google于2016年3月停止了对32位Linux上Chrome的支持,因此只能为64位版本的Chromium安装Pepper Flash播放器。

要在Chromium Web浏览器中安装Flash播放器,请搜索Dash for Software&Updates并打开Software&Updates窗口。 单击“软件和更新”窗口中的“ 其他软件”选项卡,并在其旁边的复选框中选中复选标记: Canonical Partners

在此处输入图像描述

单击“ 关闭”按钮以关闭“软件和更新”窗口。

打开终端并输入:

 sudo apt remove pepperflashplugin-nonfree # remove pepperflashplugin-nonfree if it's installed sudo apt-get update sudo apt-get install adobe-flashplugin 

这是一个在firefox上安装最新版本的Pepper flash的脚本。 它可能会解决您的问题。 https://db.tt/rHEJ2e0l

运行它,打开终端,cd进入脚本所在的位置并安装类型:

 chmod +x freshplayer_maintainer.sh; ./freshplayer_maintainer.sh 

其余的应该是自我解释的

Pipelight将为您安装当前Windows版本的闪存。 其他插件,如Silverlight和Unity也可通过Pipelight获得。