Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1014418
  • 博文数量: 227
  • 博客积分: 5951
  • 博客等级: 大校
  • 技术积分: 2598
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-22 17:42
文章分类
文章存档

2015年(2)

2014年(12)

2013年(16)

2012年(22)

2011年(19)

2010年(36)

2009年(77)

2008年(39)

2007年(16)

我的朋友

分类: BSD

2009-03-03 15:22:47

老外写的使劲看能看懂

原文链接


Freebsd - Flash in Firefox

I’ve been snooping around on youtube a lot lately, something I felt like doing here on my workstation as well. I’m running , and since there is no native flash plug in, making flash run isn’t as easy as it should be. Last time I gave it a try was about a year ago, without any real luck. Today I felt like giving it a try, so I googled a bit, and 5 minutes later I could watch youtube videos.

I found an article on , translated here’s what I did:

cd /usr/ports/www/linux-flashplugin7/ && make install clean

Check the checkbox, to include the nspluginwrapper, or:

cd /usr/ports/www/nspluginwrapper/ && make install clean

Once that is done, all you need to do is to configure the nspluginwrapper by doing:

nspluginwrapper -i
/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so

If the execution of nspluginwrapper fails, with a libgtk error, install linux-gtk2.

cd /usr/ports/x11-toolkits/linux-gtk2/ && make install clean

Now you’re good to go. If you want to be able to watch embedded videos with mplayer, install the mplayer plug in as well.

cd /usr/ports/www/mplayer-plugin/ && make install clean

This works for linux-opera as well, but not as good as in firefox (not that it is working as it should there). It is lagging much more, and barely usable in my opinion.

Posted January 10, 2008 in


阅读(1683) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~