From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 23:54:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50100106568B for ; Wed, 21 Jan 2009 23:54:40 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 26CCE8FC14 for ; Wed, 21 Jan 2009 23:54:40 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3981894rvf.43 for ; Wed, 21 Jan 2009 15:54:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=+hxgSQwSvqtJiceNL0A+aMU4Ogc+gByONjl6YlF3hH4=; b=ixKAHxeC5ckmxlri6EiJAeEfw8VGUx7cBYQgzuqLmmqKsXVa9Igk68mdZM73pb7Yjh FweFd+mPJVMPCbHvNyqn7zDUPnKwbdfwYzguyLqpOkOqCr+EwfwqngMJh3bi0CHEcoDO gk2VgPdPAeclmGg1ZnNVvKg477BOAFGOOQybw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=cDT8/l5XUy7LtKW5ba3QoGUw6N9cqXo5Z8y9gsf9rZZGn42iYcu99dDdRHwHJhUzrW sEUeTzNlbDZ0X5FMzxjmX90cHcM3tQ3RhVNCE1ObW+Nz6sSsadSiT6Iw24sQUOApkcPq TZxoW4LLh3+IhGkqduBRZizWWg7XiE8frfGSA= MIME-Version: 1.0 Received: by 10.143.5.20 with SMTP id h20mr472494wfi.167.1232582079848; Wed, 21 Jan 2009 15:54:39 -0800 (PST) Date: Wed, 21 Jan 2009 16:54:39 -0700 Message-ID: <539c60b90901211554u4a22fd79j6bc4374ec06d6870@mail.gmail.com> From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Chad Perrin Subject: fixed: firefox3 plugins (flash) don't work [was: Re: swfdec-plugin] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 23:54:40 -0000 On Wed, Jan 21, 2009 at 1:43 PM, Chad Perrin wrote: > On Wed, Jan 21, 2009 at 01:08:35PM -0700, Steve Franks wrote: >> Anyone get swfdec-plugin to work? Doesn't show up in firefox3's list >> of plugins (neither does mplayer-plugin or gnash). Does port >> installation order matter? Do I have to delete .firefox or some >> other slight-of-hand? > > Oh, one other thing: > > Do you have a symlink to: > > /usr/local/lib/browser_plugins/libswfdecmozilla.so > > . . . in your $HOME/.mozilla/plugins/ directory? > > -- > Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] > Quoth Steve McConnell: "Good code is its own best documentation. As > you're about to add a comment, ask yourself, 'How can I improve the code > so that this comment isn't needed?'" > Ok, so here's the correct way to fix this, I'm pretty sure: 1) You install firefox as root. When you log in as user, there is no ~/.mozilla/plugins; instead of making that folder and symlinking to swfdec in it, you should symlink: ln -s /usr/local/lib/browser_plugins ~/.mozilla/plugins 2) You are halfway there. I submitted a change-request to the swfdec-plugin port to do this, but until then, sudo ln -s /usr/local/lib/browser_plugins/swfdec-plugin/libswfdecmozilla.so /usr/local/lib/browser_plugins/swfdec No idea how firefox would automatically make the plugin link in your home folder, so there's no fix for that. The swfdec source has just been updated (12/20/2008) and purportedly works with the likes of youtube, so it seems like a good flash solution for FreeBSD at the moment. It worked on the flash site I was trying to visit, and the adobe flash test page. Hope this helps some newbie(s) in the future... Best, Steve