歡迎您光臨本站 註冊首頁

解決Firefox上網看不了Flash網頁的問題

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0

解決了顯示網頁字體的問題后,接下來的課題就是Firefox顯示不了網頁上的Flash,點選安裝缺失插件,結果安裝失敗,手動安裝提示成功,但是Flash依舊不肯出來;於是在YAST中把新裝的flash player 9給卸了,裝了個7,結果還一樣.在google上有很多人都說能裝成功,不管是自動安裝還是手動安裝,不過他們的系統都不是suse的.現在是1:40,已經成功,終於讓Firefox播放flash了.

過程如下:

由於系統自帶的Firefox是1.5,播不了Flash,於是我將它升級到2.0,故障依舊;被逼無奈,只好裝了個netscape來試試運氣,於是到netscape站點下了個最新的9.03,真是方便,解壓就可以使用.同樣打開,點擊其中一個flash,提示flashplayer太舊需要升級,於點我點提示的那個地方開始自動升級,彈出來的接受協議與firefox的一樣,就是不知道能否成功.於是等download完,自動配置,呵呵.看到flash載入的進度條了,一陣狂喜.總算是可以看到了,就用netscape來補這個缺吧.

不過netscape是全英文的,還是覺得不大順眼,既然netscape可以下載成功還能自動安裝成功,反正播flash的文件都是一樣的adoba flash player,不是剛剛下載下來安裝的嗎?保存在硬碟的哪個目錄下呢?

想到的/tmp,過去查了,沒有.到當初netscape解壓的目錄,進去找flash字樣的文件,也沒有;於是我想到了find命令,當然接下來就是硬碟的一頓狂轉了.

suse-10:/ # find / -name '*flashplay*'

/usr/lib/browser-plugins/flashplayer.xpt

/usr/lib/browser-plugins/libflashplayer.so

/usr/local/netscape/plugins/flashplayer.xpt

/usr/local/netscape/plugins/libflashplayer.so

find: /proc/18881/task: 沒有那個文件或目錄

find: /proc/18881/fd: 沒有那個文件或目錄

find: WARNING: Hard link count is wrong for /: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.

/root/.netscape/plugins/flashplayer.xpt

/root/.netscape/plugins/libflashplayer.so

/root/.macromedia/Flash_Player/macromedia.com/support/flashplayer

/windows/C/Documents and Settings/Administrator/Application Data/Macromedia/Flash Player/macromedia.com/support/flashplayer

suse-10:/ # ~

bash: /root: is a directory

suse-10:/ #

找到了不少,呵呵,有收穫.然後用 ls命令一個一個查看,發現:

suse-10:~/.netscape/plugins # ls -u -lt

總計 6895

-rw-r--r-- 1 root root 6148 2007-09-27 01:01 .DS_Store

-rw-r--r-- 1 root root 856 2007-09-27 01:01 flashplayer.xpt

-rwxr-xr-x 1 root root 7040036 2007-09-27 01:01 libflashplayer.so

這不就是我剛才安裝flash player的大概時間嗎?然後再用ls命令查看其它目錄,沒有一個與那個時間點相符,估計就是這三個了.

不管3721,再進到firefox的安裝目錄,我升級firefox后目錄變到/usr/bin/firefox-2.0.0.7/了,於是

suse-10:/ # cd /usr/bin/firefox-2.0.0.7/

suse-10:/usr/bin/firefox-2.0.0.7 # ls -ul

總計 13639

-rw-r--r-- 1 root root 0 2007-09-27 01:34 .autoreg

-rw-r--r-- 1 root root 232 2007-09-27 01:34 browserconfig.properties

drwxr-xr-x 3 root root 552 2007-09-27 01:37 chrome

drwxr-xr-x 2 root root 1536 2007-09-27 01:35 components

drwxr-xr-x 5 root root 128 2007-09-27 01:34 defaults

drwxr-xr-x 5 root root 184 2007-09-27 01:37 extensions

-rwxr-xr-x 1 root root 5247 2007-09-27 01:37 firefox

-rwxr-xr-x 1 root root 10552484 2007-09-27 01:37 firefox-bin

drwxr-xr-x 2 root root 144 2007-09-27 01:37 greprefs

drwxr-xr-x 2 root root 176 2007-09-27 01:34 icons

-rw-r--r-- 1 root root 1326 2007-09-27 01:34 install.log

-rw-r--r-- 1 root root 476 2007-09-27 01:34 libfreebl3.chk

-rwxr-xr-x 1 root root 231468 2007-09-27 01:37 libfreebl3.so

-rwxr-xr-x 1 root root 628764 2007-09-27 01:37 libmozjs.so

-rwxr-xr-x 1 root root 176716 2007-09-27 01:37 libnspr4.so

-rwxr-xr-x 1 root root 430608 2007-09-27 01:37 libnss3.so

-rwxr-xr-x 1 root root 276064 2007-09-27 01:37 libnssckbi.so

-rwxr-xr-x 1 root root 15304 2007-09-27 01:37 libplc4.so

-rwxr-xr-x 1 root root 8240 2007-09-27 01:37 libplds4.so

-rwxr-xr-x 1 root root 138316 2007-09-27 01:37 libsmime3.so

-rw-r--r-- 1 root root 476 2007-09-27 01:34 libsoftokn3.chk

-rwxr-xr-x 1 root root 309624 2007-09-27 01:37 libsoftokn3.so

-rwxr-xr-x 1 root root 155560 2007-09-27 01:37 libssl3.so

-rwxr-xr-x 1 root root 94924 2007-09-27 01:37 libxpcom_compat.so

-rwxr-xr-x 1 root root 699056 2007-09-27 01:37 libxpcom_core.so

-rwxr-xr-x 1 root root 9240 2007-09-27 01:37 libxpcom.so

-rwxr-xr-x 1 root root 8284 2007-09-22 12:24 libxpistub.so

-rwxr-xr-x 1 root root 10336 2007-09-27 01:34 mozilla-xremote-client

-rw-r--r-- 1 root root 112 2007-09-27 01:34 old-homepage-default.propertiesdrwxr-xr-x 2 root root 152 2007-09-27 01:38 plugins

-rw-r--r-- 1 root root 177 2007-09-27 01:34 readme.txt

-rw-r--r-- 1 root root 177 2007-09-27 01:34 README.txt

-rw-r--r-- 1 root root 335 2007-09-27 01:34 registry

-rwxr-xr-x 1 root root 13062 2007-09-27 01:34 removed-files

drwxr-xr-x 6 root root 1688 2007-09-27 01:34 res

-rwxr-xr-x 1 root root 10492 2007-09-27 01:37 run-mozilla.sh

drwxr-xr-x 2 root root 240 2007-09-27 01:37 searchplugins

-rwxr-xr-x 1 root root 67496 2007-09-27 01:34 updater

-rw-r--r-- 1 root root 121 2007-09-27 01:34 updater.ini

drwxr-xr-x 3 root root 72 2007-09-27 01:37 updates

-rwxr-xr-x 1 root root 21368 2007-09-27 01:34 xpicleanup

suse-10:/usr/bin/firefox-2.0.0.7 #

找到了plugins目錄,於是返回suse-10:~/.netscape/plugin目錄將剛才找到的那三個文件(其實只要以下顯示的兩個)copy過來:

suse-10:~/.netscape/plugins # cp * -r /usr/bin/firefox-2.0.0.7/plugins

suse-10:~/.netscape/plugins # cd /usr/bin/firefox-2.0.0.7/plugins

suse-10:/usr/bin/firefox-2.0.0.7/plugins # ls

flashplayer.xpt libflashplayer.so libnullplugin.so

suse-10:/usr/bin/firefox-2.0.0.7/plugins #

重新打開firefox,進入,終於有了熟悉而陌生的flash進度載入條.總算是成功了.


[火星人 ] 解決Firefox上網看不了Flash網頁的問題已經有879次圍觀

http://coctec.com/docs/linux/show-post-56592.html