Chrome/Chromium and gecko mediaplayer

I’ve been following bug reports about the gecko mediaplayer causing crashing and freezing with Google Chrome and Chromium and recently discovered a work around.

If one starts these browsers from the terminal like this:

google-chrome --without-gconf

or

chromium --without-gconf

the problems with gecko seem to go away. This is the first time I’ve tried it so I’ll report back if this solution doesn’t hold up. The devs say this is an upstream bug in Chrome.

I just found out that Gnome MPlayer won’t play Apple trailers when I use the --without-gconf option.

Hi
Which gecko-mediaplayer and gnome-mplayer are you using?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 0:15, 3 users, load average: 0.07, 0.23, 0.30
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Hi
Also had another thought, when we started getting it up and running
(into the OBS contrib) I created a start script that did user-agent
switching by adding the following script;
http://pastebin.com/5MXGg5W2

Or does google-chrome already have a switcher? This was because apple
changed their site to be non-browser/os friendly.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 2:20, 3 users, load average: 0.62, 0.34, 0.34
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

I’m using gecko-mediaplayer 0.9.9.2-1.1 and gnome mplayer 0.9.9.2-4.1 from OBS. I thought that maybe the versions from OBS would work better than the packman versions.

It turns out that the --without-gconf option isn’t helping. I just got lucky the first few times I tried it. I think maybe this option needs to be used when building the gecko-mediaplayer package.

Any packagers on this forum that want to give it a try?

Here is the bug I found about it: http://code.google.com/p/gecko-mediaplayer/issues/detail?id=64

malcolmlewis, I don’t know how to use that script you linked to, but the Apple trailers play fine in Firefox without it.

Hi
Are you using gecko/gnome in firefox and are you using a user agent
switcher for the apple site?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 6:04, 2 users, load average: 0.49, 0.90, 0.73
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

I’m using the same gecko-mediaplayer in all my browsers. There’s no user agent switching that I’m aware of.

Hi
Strange, AFAIK they changed the website hence user issues from last
year… http://tinyurl.com/35bantv

Can you just check what your running on firefox via about:config and
filer on useragent. http://whatsmyuseragent.com/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 21:25, 3 users, load average: 0.29, 0.47, 0.47
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

User agent in Firefox looks like this:

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100401 SUSE/3.6.3-1.2 Firefox/3.6.3

Google Chrome:

Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

What info do you want from about:config?

Hi
Hmmmm, can you check if you see the gecko plugins, about:plugins in the
browsers, esp quicktime pointing to gecko-mediaplayer.

I need to setup a test vm…lol


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 0:02, 3 users, load average: 0.88, 1.24, 1.21
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Yes, all the gecko-mediaplayer plugins are there. Quicktime, Divx, Windows Media, etc. Only the Quicktime videos on Apple.com only play in Firefox.

Hi
Weird, I can get it to work in firefox, in chromium I can’t see the
plugins hence it won’t play any quicktime. I need to look at chrome.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 3:32, 3 users, load average: 1.01, 0.38, 0.30
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Must be your install of Chrome is looking for the plugins in a directory other than /usr/lib64/browser-plugins.

Maybe opt/chrome/plugins or something.

Hi
No, checked that, chromium creates a softlink to the browser-plugins
directory it sees some, just not all…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 1 day 5:36, 3 users, load average: 0.18, 0.37, 0.38
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

hello, i just found this thread using google and i also have this problem. i switched from chrome (where the plugin was working fine) to chromium today and noticed that the plugin isn’t recognized by the browser. i’ve made sure that the .so files were in the right folders without any luck.

has anyone found a solution or should i file a bug report to the chromium team?

gecko-mediaplayer automatically fakes the User-Agent when needed (there is a hardcoded web list that includes Apple’s).

I’m the packager in the OBS. But I’m not going to disable the gconf support since the problem is with Chrome and yesterday Chrome devs decided to blacklist the plugin in a hardcoded way (I don’t use Chrome, but I suppose you can’t override that through config).

Hi
Why did they blacklist it?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 3 days 23:20, 3 users, load average: 0.20, 0.14, 0.22
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Because of the crash.

Issue 24507 - chromium - Gecko mediaplayer hangs the browser - Project Hosting on Google Code