ubuntu13.04 环境下中谷歌chromium中安装Adobe Flsher Player 插件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Northwestern/article/details/8961323

1 背景介绍

在使用chromimu浏览浏览器时,会出现播放不了网页上的视频的情况,原因是没有安装Adobe Flsher Player 插件,这时网页的搜索栏的下部会提示用户是否安装Adobe Flsher Player 插件,点击安装插件,会调转到Adobe Flsher Player的官网,这时你就可以根据机器的类型选择文件下载

你也可以直接登陆以下网址进行下载:http://get.adobe.com/flashplayer/?no_redirect

如下图所示:


点击select version to download 后边的三角,出现一个下拉菜单,我选择的是

.tar.gz for other linux

如下图所示:


点击download now 完成下载


2 解压,复制文件到指定目录

 下一步,将压缩包进行解压

在终端中(ctrl + alt +T),切换到刚才下载的压缩包所在的目录输入解压命令

$ tar xvf install_flash_player_11_linux.i386.tar.gz

该目录下会多出以下三个文件

 libflashplayer.so

readme.txt

usr  (<-这是一个文件夹)

具体的安装方法写在了readme.txt中,一大堆英文,我们需要的内容摘抄如下:

*************

Installing using the plugin tar.gz:
o Unpack the plugin tar.gz and copy the files to the appropriate location.  
o Save the plugin tar.gz locally and note the location the file was saved to.
o Launch terminal and change directories to the location the file was saved to.
o Unpack the tar.gz file.  Once unpacked you will see the following:
+ libflashplayer.so
+ /usr
o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
o Copy libflashplayer.so to the appropriate browser plugins directory.  At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory.  At the prompt type:
+ sudo cp -r usr/* /usr

*************

现在我们需要做的就是最后两步

  a  把文件 libflashplayer.so 复制到chromium的安装插件的文件中  谷歌浏览器中plugins文件的默认位置一般为:  /usr/lib/chromium-browser/plugins

在终端中切换到文件:libflashplayer.so所在的位置, 然后执行命令:sudo cp libflashlayer.so   /usr/lib/chromium-browser/plugins  即可。

 b 把Flash Player  的本地配置文件复制到/usr目录下即可,首先切换到之前解压缩得到的usr文件夹所在的目录下

  然后执行命令为:  sudo cp -r usr/* /usr


3 成功,查看效果

好了,当你看到这里的时候,你只需要重新启动你的chromium浏览器,在地址栏里输入:chrome://plugins/   回车

就可以看到以下内容:



然后把Always allowed 勾选上就万事大吉了!!

以下是播放视频的效果:



注:

1.  实测对于ubuntu12.04(LTS版)中的谷歌浏览器(版本为18.0.1025.151 (开发编译版 130497 Linux) )此方法同样适用。


猜你喜欢

转载自blog.csdn.net/Northwestern/article/details/8961323