OpenBSD如何浏览FLASH网页 ?
本帖最后由 sw2wolf 于 2012-05-30 11:02 编辑大家有成功的吗?
> pkg_info gnash
Information for inst:gnash-0.8.9p6v0
Comment:
SWF player with Firefox browser plugin
Description:
Gnash is the GNU SWF movie player, which can be run standalone on
the desktop or an embedded device, as well as a plugin for several
browsers.
Maintainer: Brad Smith <brad@comstyle.com>
WWW: http://gnashdev.org
访问:http://v.youku.com/v_show/id_XMTAwMDIyNDUy.html 试试, 结果一片黑:( 有
http://blog.chinaunix.net/uid-25256412-id-2939430.html
我是freebsd 但是差不多的!15:Using Linux Mode (MacromediaFlash插件没有FBSD版,用Linux wrapper运行其flash版本)
# kldload linux (加载进来一会用)
# cd /usr/ports/emulators/linux_base-f10 && make BATCH=YES install distclean
# vim /etc/rc.conf
linux_enable="YES"
:wq
16:Firefox 和 MacromediaFlash 和 Add-onsand Chromium
# cd /usr/ports/www/firefox/ && make BATCH=YES install clean
vim /boot/loader.conf
sem_load="YES" (加载module)
:wq
# cd /usr/ports/www/firefox-i18n/ && make install clean (中文支持)
# cd /usr/ports/www/nspluginwrapper && make install clean (提供flash支持)
# cd /usr/ports/www/linux-f10-flashplugin10 && make install clean (安装flash插件)
# 安装版本11的话不需要 挂载 linproc , 我安装的11 ..
# cd /usr/ports/www/linux-f10-flashplugin11 && make install clean (安装flash插件)
#ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so \
/usr/local/lib/browser_plugins/ (做个symbolic Link,官方文档:browser_plugins是个目录,没有的话要创建)
(目录不行:请直接连接,我就是 直接链接的!)
# rehash (Updates FreeBSD's path environment variables)
<For instance when you have installed software you may not be able
to run the executables without specifying the path.
rehash solves your problem most of the times>
% nspluginwrapper -v -a -i (插件必须由每个用户运行 nspluginwrapper 安装)
<上面的命令会复制 browser_plugins目录下生成的文件 到:~/.mozilla/plugins/npwrapper.libflashplayer.so>
# 安装版本11(linux-f10-flashplugin11)的话不需要 进行下面的操作 挂载 linproc , 我安装的11 ..
实现播放flash 动画效果:
# mount -t linprocfs linproc /usr/compat/linux/proc (挂载 linproc ,事实上 procfs存在安全问题FBSD早就废弃了)
# vim /etc/fstab
linproc /usr/compat/linux/proc linprocfs rw 0 0 (开机自动挂载)
:wq
Add-ons:
firefox - Edit - Preferences - Manage Add-ons - Search
Ease Link: (转换迅雷、QQ旋风、快车专用链接)
Adblock Plus: (屏蔽广告)
Adblock Plus Preferences - Filters -Add filter subscription - Update all subscriptions
NetVideoHunter Video Downloader: (视频地址检测)
NetVideoHunter Options - Show in statusbar - Enable the capturing of SWF files
PS: npviewer.bin 该进程为flash进程,当关闭flash后不会自动
结束,sockstat |grep npviewer.bin 会看到N多 占用内存超多
我的办法是:
# echo 'alias killflash killall npviewer.bin'>>~/.cshrc
Chromium
# cd /usr/ports/www/chromium/ && make install clean
echo 'alias chrome chrome --incognito'>>~/.cshrc
无视flash。:mrgreen: ulovko 发表于 2012-05-27 15:14 有
http://blog.chinaunix.net/uid-25256412-id-2939430.html
我是freebsd 但是差不多的!
你有沒有在 OpenBSD 試過? 並非每件事 OpenBSD 和 FreeBSD 都是"差不多" 呵呵.要.顶来 本帖最后由 sw2wolf 于 2012-06-05 10:09 编辑
$get_flash_videos http://v.youku.com/v_show/id_XMTAwMDIyNDUy.html
$mplayer *.flv
在gnome-mplayer中将视频输出由xv改为x11就可以正常播放了, mplayer在~/.mplayer/config中加:vo=x11
有chrome浏览器版本的吗? 你看着个行不行: http://blather.michaelwlucas.com/archives/865 ulovko 发表于 2012-06-01 09:53 static/image/common/back.gif
你看着个行不行: http://blather.michaelwlucas.com/archives/865
试了,不行。 网页嵌入FLASH的区域变成了空白 回复 6# sw2wolf
搞不好声音分离的
页:
[1]
2