Skip navigation.

Opera Flash Plugins

,

原来6.06弄好了Flash的,后来升级到Edgy就又不行了,安装了Adobe Flashplayer 9,FireFox可以显示Flash了,Opera死活不肯显示。
我的以前那篇讲Flash的文章,就是安装好了Flashplayer9后,那个插件是在/usr/lib/firefox/plugins里,所以只要在Opera的pluginpath.ini加上“/usr/lib/firefox/plugins=1”就行了。可这次怪了:

更新到6.10后,FF和Opera都不能显示,于是我sudo apt-get install flashplugin-nonfree后FF可以正常显示Flash了,Opera还是不行,即使我添加了/usr/lib/firefox/plugins=1。在我跟Q-Gun,ghost0高手们的交流后,我总结原因和解决方法如下:

浏览器里能显示Flash是因为有libflashplayer.so(就这个东西)的原因,在pluginpath.ini里添加/usr/lib/firefox/plugins=1的目的就是指向这个路径,寻找libflashplayer.so。可是我这次在/usr/lib/firefox/plugins文件夹里竟然没有发现libflashplayer.so,而FF也能正常工作。我又到/usr/lib/mozilla/plugins找,还是没有这个.so。后来在ghost0的提醒下在~/.mozilla/plugins里找到了libflashplayer.so。于是我再添加了~/.mozilla/plugins=1,OK,Opera终于显示Flash拉:smile:

:star: 安装方法
1.如果你的系统是新的,或者Firefox和Opera都不能显示Flash,请打开终端,输入 sudo apt-get install flashplugin-nonfree
这样以后,Firefox肯定可以显示Flash了。Opera还不行的继续往下看。
2。请到/usr/lib/firefox/plugins,/usr/lib/mozilla/plugins里找找有没有libflashplayer.so这个文件,如果没有Opera肯定就不能显示了(因为Opera的pluginpath.ini里Path指向的就有这两个地方,其他的路径一般不太可能有flash插件)。接着你就得去/home/vvoody/.mozilla/plugins里找了。vvoody是你的用户名,记得打开“显示隐藏文件”(查看-显示隐藏文件)。如果有那么:
关闭Opera
打开终端
输入sudo gedit ~/.opera/pluginpath.ini
在最后一行输入/home/vvoody/.mozilla/plugins=1      (=1是激活的意思,一定要有)
保存
重新打开Opera

现在就该可以显示了。

PS:补充一个方法,加深大家的理解
去Adobe.com下载Flashplayer9
解压后会有一个libflashplayer.so,就是它啦。终端中执行
sudo cp libflashplayer.so /usr/lib/opera/plugins (这是Opera的plugins目录)
sudo chmod 775 /usr/lib/opera/plugins/libflashplayer.so (更改权限,因为你是sudo拷贝过去的,导致出了root用户其他任何人不能访问该文件,即使复制过去了也没用,我就是因为这个弄了很久)
sudo gedit /home/vvoody/.opera/pluginpath.ini
如果有/usr/lib/opera/plugins=1了那就不用修改了,否则添加此句。
OK,这样也能显示了。

只要系统里libflashplayer.so这个文件就可以解决浏览器显示Flash的问题了。

很晚了,:zzz: :zzz: :zzz:

Ubuntu升级需要注意的beryl, WOW

Comments

Anonymous 6. May 2007, 17:18

hristo.num writes:

please whrite this in english i cant see post thanks and email me hristo.num@gmail.com

Anonymous 28. September 2007, 07:09

Anonymous writes:

请问64位怎么办?

vvoody 2. October 2007, 14:07

64位怎么了?

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies