You are not logged in.

#1 2013-07-15 02:35:58

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Help enabling gnash and disabling flash in Firefox

This is a "Further woes with..." thread, following on from https://bbs.archlinux.org/viewtopic.php?id=164901. In that episode, I managed to watch a youtube video by installing the gnash plugin and gstreamer0.10-ffmpeg, disabling the flash plugin in Firefox and enabling the gnash one.

Now, however, I find that gnash is disabled as well as flash. Moreover, if I enable gnash, flash is also enabled. If I disable flash, gnash is also disabled.

Disclaimer: I use a Firefox binary from Mozilla because I cannot otherwise use my preferred interface language. However, Firefox (/usr/local/bin/firefox which is linked to the binary in /usr/local/lib/firefox) has no problems using Arch plugins installed at /usr/lib/mozilla/plugins. I also have icedtea, kpartsplugin and djview (though I forget why I have the last).

The plugins are definitely there according to both pacman and ls /usr/lib/mozilla/plugins.

Does anybody have any idea why Firefox insists it must be either flash and gnash or no ash at all? I realise I could just uninstall flash but I'm reluctant to do this unless I really have to as it is handy to be able to enable it quickly if necessary. I just want to keep it disabled so Firefox etc. picks up gnash. (Actually, Firefox should default to gnash given my settings for mimetypes in preferences but that doesn't seem to be effective.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2013-07-15 11:39:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help enabling gnash and disabling flash in Firefox

By 'flash', do you mean 'flashplugin'? If so, have you tried removing (uninstalling) flashplugin? You can install it back if needed.
djview is for viewing djvu files https://wiki.archlinux.org/index.php/Djvu

Last edited by karol (2013-07-15 11:40:40)

Offline

#3 2013-07-15 19:21:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Help enabling gnash and disabling flash in Firefox

Yes, sorry. I meant the flashplugin. I realise I could uninstall it - it just bothers me that I can't disable it without disabling the gnash plugin and I can't understand why. (It worked fine a few weeks ago.)

Thanks for the link, to. I might try to figure out why I installed it (or if something else pulled it as a dependency which seems more likely). I only really mentioned the other plugins because this isn't a general problem i.e. it isn't that if I enable one plugin they are all enabled or if I disable one they are all disabled. Just the flash/gnash pair which seems kind of weird. (If anything, I'd expect the browser to view them as incompatible competitors!)

Last edited by cfr (2013-07-15 19:23:04)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2013-07-15 19:26:51

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Help enabling gnash and disabling flash in Firefox

I think karol's suggestion of removing the flashplugin package is not intended to be a permanent "solution", but rather a debugging step to see if you can correctly enable gnash without the presence of the flashplugin.

Offline

#5 2013-07-15 21:11:31

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Help enabling gnash and disabling flash in Firefox

Oh, right. Sorry. I am being dim. Yes, uninstalling flashplugin and restarting the browser still lets me enable the gnash plugin just fine. (I'm assuming it works but it is definitely enabled.) Uninstalled djview4 while I was at it as I can't think what I use it for.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-07-15 23:48:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Help enabling gnash and disabling flash in Firefox

Okay, I just tried this, and I too could not get just one or the other to enable in firefox.  Only uninstalling flashplugin enabled me to enable gnash.  So I guess at least you now know that it is not just you.

Otherwise, I have to mention that when testing gnash for the very brief time that I did, though it will render youtube videos, and it does pretty well at low-res, it gets pretty choppy when I up the resolution to 720p or higher.


Edit: In chromium I just tried this (chrome://plugins or about://plugins) and it seems to work.  Unfortunately, when both are installed and enabled, flashplugin seems to be given priority.  I wonder if even that could be changed...

Last edited by WonderWoofy (2013-07-16 00:04:02)

Offline

#7 2013-07-15 23:59:45

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Help enabling gnash and disabling flash in Firefox

Do you have a better solution? For me, flashplugin didn't work at all whereas gnash at least did play the videos. I don't actually watch many youtube videos which is why I'm fairly clueless so it is not necessarily a major problem for me if it is not stellar. But obviously I'd use an alternative if it was better (and relatively painless to install/configure). I just couldn't get any sense out of flashplugin. I got all the controls but I couldn't actually get the video. (Still frames were OK, I think, but I couldn't watch or hear anything animated.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2013-07-16 00:10:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Help enabling gnash and disabling flash in Firefox

That is interesting, flahsplugin doesn't work at all?  That is strange, and not the first time I have heard that.  It makes me wonder then why you want to keep flashplugin installed on your computer if it doesn't do much.

If you are willing to open a different browser to watch youtube videos, chromium seems to handle these plugins quite well.  I actually have, ATM for testing here, flashplugin, pepper flash, and gnash.  I was able to enable each one by one, and it seemed to be doing what I wanted it to do. 

Besides that, I actually keep pepper flash set up for chromium all the time.  I actually find it to be pretty superior to flashplugin, though it doesn't change my opinion that the world needs to move away from flash content more quickly.  It is in the AUR and is very easy to install.  As long as you don't have anything set in /etc/chromium/default, the install script will set eveything up automatically for you.  If you do have something there (I keep the cache in tmpfs with --disk-cache-dir=/tmp), then you just need to edit the file and clean it up a little.  It gets the quoting all wonky.

Offline

#9 2013-07-16 00:28:23

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Help enabling gnash and disabling flash in Firefox

It didn't work at all on youtube's site but I'm pretty sure I've used flashplugin on the bbc's. I might be wrong about that.

Hmm... I'm not very keen on chromium, to be honest. Couldn't agree more about flash. Loads of sites keep insisting I don't have the latest flash installed and wanting to install it. Luckily I rarely care enough to want to see whatever it is I can't view. Indeed, sometimes I'd rather not have them trying to play video at me. (I find it rude when sites try to automatically start playing video merely because I've loaded their page. More often than not, I don't want to see it at all. People use them for the most annoying things.)

EDIT: Forgot to say thanks for confirming it is not just me. I guess it is a bug in the current version. As I say, it worked OK a few weeks ago.

Last edited by cfr (2013-07-16 00:30:32)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2013-07-16 00:31:20

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Help enabling gnash and disabling flash in Firefox

I hate when there is an unrelated advertisement video on the page that aotumatically plays.  They always tend to be louder than usual, and typically show up on massive pages making them hard to find.

Actually I don't really haev that problem anymore since I just block all known ad servers globally.


Edit: personally I use dwb.  But my family likes to use G+ Hangouts, so I have chromium with the Hangouts extension, so I can easily chat with them.  I used to use bitlbee for it, but really it is kind of a PITA.  Apparently though, from what I have read, their fork of webkit has allowed them to make the browser signifcantly faster.  I am not sure that I really notice a difference, but then again I am not one to really take a benchmark's results without a nice handful of salt.

Last edited by WonderWoofy (2013-07-16 00:34:12)

Offline

#11 2013-07-16 00:35:35

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Help enabling gnash and disabling flash in Firefox

I block those but not necessarily e.g. the "how-to" video showing me how to use some new feature of something or whatever. If they cannot be bothered to design a usable interface or at least write clear instructions I can skim, I am not going to spend 10 minutes of my time watching a video showing me how to turn the page of a damn ebook!

EDIT: Should probably end the rant here. I actually block more than I want to. Until recently, for instance, wikipedia had no images whatsoever.

Last edited by cfr (2013-07-16 00:37:05)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB