码迷,mamicode.com
首页 > 系统相关 > 详细

关于ubuntu14.04LTS 64位 播放优酷视频

时间:2015-09-26 18:25:46      阅读:263      评论:0      收藏:0      [点我收藏+]

标签:

起因:chrome无法播放优酷视频,然后换firefox发现居然没有装flash 插件。

解释:关于chrome在网上看到了不少说法,说chrome新版本的不支持adobe flash之类的,但是这些都不是我们该担心的,在新版的chrome(ubuntu下的)都已经包含了flash相关的插件,如图可以看到(最后一个插件)

技术分享

但是今天我的电脑就是脑抽,本来还能用的,看着看着就不行了,鼓捣半天,又突然莫名奇妙的好了,这个不是重点。

 

FireFox安装adobeflash 插件:

其实在adobe下的压缩包里有说明(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

这里要说明的是:adobe网站上的rpm包估计版本有点老,还是建议下载for other linux的tar.gz包。

不愿意看英文的,我这里翻译一下主要步骤:

1. 解压tar.gz包

tar -xzvf <压缩包名字>

2. 解压以后你可以看到,文件夹里有一个 libflashplayer.so,还有一个usr文件夹,当然还有一些其他的文件夹,但是无关紧要。

3. 找到你的firefox插件的位置,一般是/usr/lib/firefox-addons/plugins/

4. 把 libflashplayer.so 复制到3 中的目录

cp  libflashplayer.so /usr/lib/firefox-addons/plugins/

5. 把解压文件中的usr文件夹复制到 /usr/ 中去

sudo cp -r usr/* /usr

然后重启浏览器即可正常播放优酷的视频了。

 

关于ubuntu14.04LTS 64位 播放优酷视频

标签:

原文地址:http://www.cnblogs.com/asmer-stone/p/4841039.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!