Chinaunix

标题: freebsd下的chromium不能直接flash?? [打印本页]

作者: muwanqing_cu    时间: 2012-03-08 15:39
标题: freebsd下的chromium不能直接flash??
RT。。。。。。。。
作者: HermitWayne    时间: 2012-03-08 15:50
据说好像不行。
作者: muwanqing_cu    时间: 2012-03-08 15:54
google的浏览器不是已经内置了FLASH的啥API。。。。Windows和linux可以直接flash
作者: HermitWayne    时间: 2012-03-08 16:58
本帖最后由 HermitWayne 于 2012-03-08 17:10 编辑

额~~你说的那是chrome吧,但FB下只有chromium,两者是不同的。
具体的可以看Handbook
http://www.freebsd.org/doc/en_US ... sktop-browsers.html

其中关于flash插件问题,还是要通过linux-base来安装。
作者: muwanqing_cu    时间: 2012-03-08 17:53
刚才折腾一下  结果在系统里安装了一堆linux的东西  会不会把系统搞的不稳定
作者: oily1314    时间: 2012-03-08 18:53
muwanqing_cu 发表于 2012-03-08 17:53
刚才折腾一下  结果在系统里安装了一堆linux的东西  会不会把系统搞的不稳定

Linux兼容层是独立的子系统,对FreeBSD的base system本身无影响。
作者: ulovko    时间: 2012-04-26 21:04
  1. 16:Firefox 和 MacromediaFlash 和 Add-ons  and Chromium

  2. # cd /usr/ports/www/firefox/ && make BATCH=YES install clean
  3. vim /boot/loader.conf
  4. sem_load="YES"                        (加载module)
  5. :wq

  6. # cd /usr/ports/www/firefox-i18n/ && make install clean        (中文支持)
  7. # cd /usr/ports/www/nspluginwrapper && make install clean        (提供flash支持)
  8. # cd /usr/ports/www/linux-f10-flashplugin10 && make install clean        (安装flash插件)

  9. # 安装版本11的话不需要 挂载 linproc , 我安装的11 ..
  10. # cd /usr/ports/www/linux-f10-flashplugin11 && make install clean        (安装flash插件)

  11. #  ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so \
  12. /usr/local/lib/browser_plugins/        (做个symbolic Link,官方文档:browser_plugins是个目录,没有的话要创建)
  13.                                                                 (目录不行:请直接连接,我就是 直接链接的!)
  14. # rehash                                                (Updates FreeBSD's path environment variables)
  15. <For instance when you have installed software you may not be able
  16. to run the executables without specifying the path.
  17. rehash solves your problem most of the times>

  18. % nspluginwrapper -v -a -i                        (插件必须由每个用户运行 nspluginwrapper 安装)
  19. <上面的命令会复制 browser_plugins目录下生成的文件 到:~/.mozilla/plugins/npwrapper.libflashplayer.so>

  20. # 安装版本11(linux-f10-flashplugin11)的话不需要 进行下面的操作 挂载 linproc , 我安装的11 ..

  21. 实现播放flash 动画效果:
  22. # mount         -t linprocfs linproc /usr/compat/linux/proc        (挂载 linproc ,事实上 procfs存在安全问题FBSD早就废弃了)

  23. # vim /etc/fstab
  24. linproc                /usr/compat/linux/proc        linprocfs                rw        0        0        (开机自动挂载)
  25. :wq

  26. Add-ons:
  27. firefox - Edit - Preferences - Manage Add-ons - Search
  28. Ease Link:                                        (转换迅雷、QQ旋风、快车专用链接)
  29. Adblock Plus:                                (屏蔽广告)
  30. Adblock Plus Preferences - Filters -Add filter subscription - Update all subscriptions

  31. NetVideoHunter Video Downloader:                (视频地址检测)
  32. NetVideoHunter Options - Show in statusbar - Enable the capturing of SWF files

  33. PS: npviewer.bin 该进程为flash进程,当关闭flash后不会自动
  34. 结束,sockstat |grep npviewer.bin 会看到N多 占用内存超多
  35. 我的办法是:
  36. # echo 'alias killflash killall npviewer.bin'>>~/.cshrc

  37. Chromium
  38. # cd /usr/ports/www/chromium/ && make install clean
  39. echo 'alias        chrome        chrome --incognito'>>~/.cshrc
复制代码
详情:http://blog.chinaunix.net/uid-25256412-id-2939430.html
作者: muwanqing_cu    时间: 2012-04-26 22:41
LS的我正在看
作者: 芭比小柒    时间: 2012-04-27 08:24
不需要flash
作者: action08    时间: 2012-04-27 08:43
芭比小柒 发表于 2012-04-27 08:24
不需要flash
你如何看小y解说
作者: action08    时间: 2012-04-27 08:44
看看有没有fb 下的chrome




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2