So, I manage to get flash working on FreeBSD. Without using the Linux compatability layer!
Many thanks to drizzt for his precious suggestions.
I used graphics/gnash and www/firefox. Be sure not to check “GSTREAMER” on the gnash port configuration ncurses window: it didn’t work for me.
To watch YouTube videos, you must install multimedia/mplayer and www/mplayer-plugin, the Greasemonkey plugin for Firefox and install this script on Greasemonkey. Be sure to select the “mini” GUI for mplayer because it is needed for the plugin (update: be sure to install mplayer WITH_GUI (thx to Oliver for the hint)).
You should be done, or at least, that’s how I did it.
Comments 14
Just tested it, it works, but you have to use mplayer with GUI (mplayer console doesn’t work). Thx
Posted 23 May 2007 at 6:52 pm ¶Great efforts to make FreeBSD+Flash works for everyone, thank yo!
Posted 24 May 2007 at 10:23 am ¶Strange, after following these steps my Firefox still needs a plugin for application/x-shockwave-flash. Any hints what else I should do ?
Posted 29 May 2007 at 7:14 am ¶It works sorta fine. Sometimes on YouTube gnash and mplayer plugin start both to try playing the media, but gnash cant, and gets tremendously heavy. Killing gnash everything works back ok again, and YouTube can be perfectly viewed.
How could I prevent gnash to play on youtube.com?
Posted 24 Jun 2007 at 3:18 pm ¶This isn’t working with mine. Gtk-gnash fires up everytime to attempt to play the youtube video, and it comes out like garbage. The error console under firefox logs :
playerDiv.src.match(/t=([^(\&|$)]*)/)[1];
has no properties.
Any suggestions?
Posted 16 Dec 2007 at 2:31 am ¶I am trying to install mplayer with_gui
I am using FreeBSD 7.0 RC1
How should i input this into the command line?
>>sudo make install WITH_GUI
if not.. please email me with subject
MPLAYER INSTALL
thanks
freakazoid.j@gmail.com
–Justin
Posted 10 Feb 2008 at 1:41 pm ¶@Justin
>>sudo make install -DWITH_GUI
And BTW, if you make gnash WITHOUT any media handler it will not try to run any videos. But you loose sound as well – which is actually perfect for my office use.
Posted 08 Apr 2008 at 1:19 am ¶I don’t know about gnash and I don’t have currently FreeBSD installed. But I just realized that it might be possible to watch youtube videos by downloading flv file from youtube site and then watching downloaded video with vlc player. (google ‘download youtube video’ to get flv file from youtube site)
Posted 19 May 2008 at 8:46 pm ¶what a waste of time…
Posted 24 May 2008 at 9:44 pm ¶Just use wine+Firefox+Flash9 and get full flawless flash9 support like a charm.
Well, maybe. But I really prefer a “native” way.
Posted 25 May 2008 at 12:15 pm ¶I got it working on DesktopBSD 1.6 by following the basic instructions above, plus:
1. Removed linux-flashplugin and nspluginwrapper
2. Copied /usr/local/lib/browser_plugins{gnash|mplayerplug-in}/* ~/.mozilla/plugins
Youtube now works, although you have to let it buffer the whole video before clicking “play” on the mplayer plugin. The video stops buffering once it starts playing, and will just quit when it uses up whatever was buffered before you clicked “play”.
Posted 01 Feb 2009 at 9:17 pm ¶omg! you sir, are cool. I haven’t tried it yet, but it gives me hope…
Posted 26 Feb 2009 at 1:55 am ¶Update: I just upgraded to FreeBSD 7.1 and installed everything from the Mar 15 2009 ports snapshot. After installing Firefox 3 and Gnash, YouTube just worked. I did *not* install the Greasemonkey scripts. I just installed Firefox and Gnash, and YouTube works great. It also works under KDE4 Konqueror after adding /usr/local/lib/browser_plugins/gnash to the plugin path.
Posted 19 Mar 2009 at 5:19 am ¶Great article.
Posted 02 May 2009 at 3:27 am ¶Thank’s
Trackbacks & Pingbacks 8
[...] Matteo ist es möglich mit gnash Youtube-Videos abzuspielen. Wichtig ist die Installation von Mplayer, [...]
[...] from the FreeSBIE project has now found a way to watch YouTube videos with Gnash on FreeBSD,  but without using the Linux compatibility layer. [...]
Flash en Freebsd…
Pequeño tutorial para poner a funcionar Gnash con FreeBSD….
[...] is interesting: Getting Flash to work on FreeBSD without Linux compatibility. It may apply to other BSDs – otherwise untested. (Thanks, [...]
Hodge Podge…
Not much order here–just a medley of stuff that was interesting at the time. BTW, any readers remember Hodge Podge Lodge? I remember Jean Worthley as pretty boring but her house and grounds sure were neat….
[...] to Matteo at Matteo’s Wasps’ Nest for this one. See his post for more details. 11e1 Filed under: Installing Software, Systems [...]
[...] Back in May, I wrote a post about Flash on FreeBSD using gnash [...]
[...] from the FreeSBIE project has now found a way to watch YouTube videos with Gnash on FreeBSD, but without using the Linux compatibility layer. [...]
Post a Comment