You are not logged in.

#1 2010-08-11 05:24:09

ssri
Member
Registered: 2010-02-16
Posts: 216

[Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Since I had to start using the 32-bit flash via nspluginwrapper on arch64, embedded youtube flash videos are blacked out saying, "an error occurred, try again later" (see picture).  Deleting youtube cookies didn't work.  Temporarily turning off noscript and adblock yielded nothing.  When using arora, the page with the embedded youtube video gets stuck loading (edit: arora plays youtube videos, embedded and non-embedded, just fine; see below).  Back in firefox, clicking the error message in the embedded video brings up its youtube page.  The clip still does not play.  When I ran the 64-bit flash plugin before, everything worked fine.

kernel: 2.6.35.1
DE: KDE 4.4.5
flash version: 10.1.82.76
firefox version: 3.6.8
arora version: 0.10.2

jzz33m.jpg

Last edited by ssri (2010-08-14 07:35:44)

Offline

#2 2010-08-11 10:53:01

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Works for me ™

Maybe you are trying to watch a video that has been deleted. Post a link to a page with an embedded video that doesn't work for you so other people can test.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2010-08-12 01:48:57

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

test video: http://www.fark.com/cgi/vidplayer.pl?IDLink=5545390

Here's firefox output, could be something with the gtk-engine used in kde.  Now I cannot play any youtube videos.  Videos from break.com, cnn.com, etc play fine.  Arora, a native qt webkit browser, plays embedded youtube flash videos fine now.  It must have been something else when it froze loading that page earlier.

$ firefox
LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/libflashplayer.so [/usr/lib/mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS32]
LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/libflashplayer.so [/usr/lib/mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS32]
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
(npviewer.bin:15862): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:15862): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:15862): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:15862): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:15862): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:15862): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

Offline

#4 2010-08-12 02:19:58

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Hmmm, so I'm trying to export the gtk_path to /opt/lib32/usr/lib/gtk-2.0 that I found a post regarding the same problem but with operapluginwrapper-ia32.  I edited npviewer.sh, but I haven't had any success yet.

here's  /usr/lib/nspluginwrapper/noarch/npviewer.sh

case "$wrapper" in
    *i386*)
        export GTK_PATH="/opt/lib32/usr/lib/gtk-2.0"
        export PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
        ;;
esac

Now firefox's error messages still are

(npviewer.bin:3253): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:3253): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

Offline

#5 2010-08-12 02:27:44

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Since editing /usr/lib/nspluginwrapper/noarch/npviewer.sh didn't work, so I tried editing /usr/lib/nspluginwrapper/i386/linux/npviewer.

npviewer

#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
GTK_PATH="/opt/lib32/usr/lib/gtk-2.0"
PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
. /usr/lib/nspluginwrapper/noarch/npviewer.sh

I killed flash, uninstalled the plugin, reinstalled the plugin using nspluginwrapper.  After restarting firefox and attempting to play a youtube video, I am met with the same error:

 (npviewer.bin:8382): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:8382): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

(npviewer.bin:8382): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64

Offline

#6 2010-08-12 10:38:36

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

It seems to be whatever you have installed that is causing that.
I'm using this [1] and this [2] and it works fine.

[1] http://aur.archlinux.org/packages.php?ID=34111
[2] http://aur.archlinux.org/packages.php?ID=6232


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2010-08-12 15:17:21

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

R00KIE wrote:

It seems to be whatever you have installed that is causing that.
I'm using this [1] and this [2] and it works fine.

[1] http://aur.archlinux.org/packages.php?ID=34111
[2] http://aur.archlinux.org/packages.php?ID=6232

I have the exact two packages installed.  I see that you are running XFCE, since I'm running KDE with gtk-qt-engine installed and it appears that the wrong libpixmap.so is being called whenever youtube videos are played (do not know why).  Instead of looking into /opt/lib32, it instead looks into /lib, which has the 64bit version installed that causes an error.  Since I am trying to run a nspluginwrapped 32-bit plugin in a gtk browser compiled in a 64bit QT environment, I think our cases are quite different.  Strangely only videos from youtube are affected.

Furthermore, tips from the wiki did not solve the youtube flash problem.

Last edited by ssri (2010-08-12 18:28:14)

Offline

#8 2010-08-12 18:11:44

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Just tried out chromium (gtk-based, no?) and youtube videos (embedded & non-embedded) display perfectly.  That leaves firefox as the likely culprit.  But, I cannot ditch firefox sad

Offline

#9 2010-08-12 18:23:43

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Browser      Version          youtube         embedded youtube         other sites          embedded (other sites)
Firefox         3.6.8               fails                       fails                        works                    works
Chromium   5.0.375.125   works                     works                       works                     works
Arora           0.10.2            works                     works                       works                     works
Rekonq        0.5.0              works                     works                       works                     works
Konqueror   4.4.5               works                      fails                         fails                        fails

Arch64
kernel: 2.6.35.1-ck
DE: KDE 4.4.5
gtk-qt-engine: 1.1
nspluginwrapper-flash (aur)
nspluginwrapper-debian (aur)

Interesting that konqueror comes at the short end of the stick...  This is the first time since I installed Arch several months ago that I'm starting to get pissed.

Last edited by ssri (2010-08-12 18:30:51)

Offline

#10 2010-08-12 18:24:40

sausageandeggs
Member
Registered: 2009-12-05
Posts: 66

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

ssri wrote:

Just tried out chromium (gtk-based, no?) and youtube videos (embedded & non-embedded) display perfectly.  That leaves firefox as the likely culprit.  But, I cannot ditch firefox sad

I hate to say "It works fine here" but.... I'm using 64 bit with the 2 pkgs mentioned above and the video you posted works fine for me in Firefox, so maybe it's something to do with KDE+Firefox (I'm using gnome)

Offline

#11 2010-08-13 01:15:12

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

So, I pacman -Rns'd nspluginwrapper-debian and nspluginwrapper-flash and reinstalled them and their deps via yaourt.  I ran nspluginwrapper -v -a -i and made sure that the plugin resided in ~/.mozilla/plugins.  I fired up firefox and went to youtube's homepage to find out that the problem still existed.  Then, I edited /usr/lib/nspluginwrapper/i386/linux/npviewer to this:

#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
#lib32
GCONV_PATH=/opt/lib32/usr/lib/gconv/
GDK_PIXBUF_MODULE_FILE=/opt/lib32/config/gdk/gdk-pixbuf.loaders
GTK_IM_MODULE_FILE=/etc/gtk-2.0/gtk.immodules.32
GTK_PATH=/opt/lib32/usr/lib/gtk-2.0/
LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH"
PANGO_RC_FILE=/opt/lib32/config/pango/pangorc
export GCONV_PATH GDK_PIXBUF_MODULE_FILE GTK_IM_MODULE_FILE GTK_PATH LD_LIBRARY_PATH PANGO_RC_FILE
. /usr/lib/nspluginwrapper/noarch/npviewer.sh

After doing so, I ran firefox and went the youtube frontpage and played a random video, which was an ost to some videogame. It worked!  However, it worked just once... sad  Subsequent plays of different videos are met with the now familiar black box stating that an error occurred with the console output:

*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Wrapper *** WARNING: unhandled variable 18 in NPP_GetValue()
*** NSPlugin Wrapper *** WARNING: unhandled variable 18 in NPP_GetValue()

The strange thing is that these error messages are seen when playing youtube videos in chromium and arora.  Screw this, I'm pretty pissed off now and I'm thinking about giving up!

Last edited by ssri (2010-08-13 01:38:45)

Offline

#12 2010-08-13 04:30:26

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

Are you sure that all requisite lib32 packages are installed and up-to-date? You might want to check the AUR pages for comments or updated PKGBUILDs that might help your situation. Such packages are required to run 32-bit Flash Player from within your 64-bit system.

Try starting with a clean Firefox profile (i.e. mv ~/.mozilla ~/.mozilla-back).

If you can't get nspluginwrapper to work correctly, run a 32-bit browser with 32-bit Flash from a 32-bit chroot.

In my experience Firefox and nspluginwrapper don't really play together that nicely. You'll probably get much better results running a 32-bit Firefox.

nspluginwrapper works great with Chromium, though. Haven't had a problem with it even once.

Offline

#13 2010-08-13 04:38:20

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

cookiecaper wrote:

Are you sure that all requisite lib32 packages are installed and up-to-date? You might want to check the AUR pages for comments or updated PKGBUILDs that might help your situation. Such packages are required to run 32-bit Flash Player from within your 64-bit system.

Yup, all lib32 packages and dependencies are installed and updated to their latest versions.

cookiecaper wrote:

Try starting with a clean Firefox profile (i.e. mv ~/.mozilla ~/.mozilla-back).

If you can't get nspluginwrapper to work correctly, run a 32-bit browser with 32-bit Flash from a 32-bit chroot.

In my experience Firefox and nspluginwrapper don't really play together that nicely. You'll probably get much better results running a 32-bit Firefox.

Will try those.  KDE(64bits)+Firefox (64bits)+nspluginwrapper do not play nice.  It worked fine for awhile, except embedded youtube vids wouldn't play.  Updates within the past two weeks  (flash, firefox?) killed all youtube playback using this setup.

cookiecaper wrote:

nspluginwrapper works great with Chromium, though. Haven't had a problem with it even once.

If you saw my chart three posts ago, nspluginwrapper works fine with Chromium, arora and rekonq.  However, I cannot live without few of the extensions available to firefox, such is my dilemma.  I may eventually have to go with Chromium though since it is attracting add'l developer interest and I see more and more extensions coming through.  But I've been with firefox since it was called phoenix and I am a little reluctant to the idea of switching.  This flash debacle might be the final nail in the coffin though.

Last edited by ssri (2010-08-13 16:04:43)

Offline

#14 2010-08-14 07:34:56

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

cookiecaper wrote:

Try starting with a clean Firefox profile (i.e. mv ~/.mozilla ~/.mozilla-back).

This worked, but it was something I tried to avoid.  Well, I copied what I could from the old profile and left all of the extensions and their associated db files behind rather than hunt down the offending one(s).  *sigh*

Last edited by ssri (2010-08-14 07:36:20)

Offline

#15 2010-08-14 22:58:24

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

You could use your normal profile generally and just switch when you needed to watch something in Flash. You can switch to YouTube's HTML5 mode and won't need Flash to watch most YouTube videos anymore.

You could also still try installing a 32-bit Firefox to go with Flash, your profile would probably work fine there, but might not.

Last edited by cookiecaper (2010-08-14 22:58:40)

Offline

#16 2010-08-15 13:43:10

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved (somewhat)]Cannot play flash youtube videos in firefox (3.6.8)

I don't see whats wrong with just exporting bookmarks, start over with a new profile, import bookmarks and reinstall the addons.
You'll probably get rid of lots of unneeded cruft and as a bonus everything will work as it should, if it breaks again you'll find out you have some addon that you should avoid (or that you are blocking too much stuff with one of your plugins).


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB