Plop Forum

General Category => Plop Linux => Topic started by: bluelagoon45 on April 05, 2011, 19:43:04 PM

Title: how to add a flashplayer plugin to firefox
Post by: bluelagoon45 on April 05, 2011, 19:43:04 PM
Hi Elmar,

After unsquashing opt.sqfs, I tried to add different .so files into firefox/plugins directory.
These are the list of lib I tried without success:
flashplugin-alternative.so
gecko-mediaplayer.so
libvlcplugin.so
libflashplayer.so

and them squashing the opt.sqfs again,

Nevetheless, all of them are properly recognized by firefox when trying about:plugins but no flv files are playing.

What did I miss?

Fabian
Title: Re: how to add a flashplayer plugin to firefox
Post by: Elmar on April 05, 2011, 21:23:58 PM
startup ploplinux
choose a lib, maybe libflashplayer.so
go to the directory of the lib and run "ldd libflashplayer.so"

whats the output?

best regards
elmar
Title: Re: how to add a flashplayer plugin to firefox
Post by: bluelagoon45 on April 06, 2011, 09:42:37 AM
Hi Elmar,

This is the list of lib, required by libflashplayer.so as required:

   linux-gate.so.1 =>  (0xb7875000)
   libX11.so.6 => /opt/lib/libX11.so.6 (0xb6bc3000)
   libXext.so.6 => /opt/lib/libXext.so.6 (0xb6bb5000)
   libXt.so.6 => /opt/lib/libXt.so.6 (0xb6b6a000)
   libfreetype.so.6 => /opt/lib/libfreetype.so.6 (0xb6b01000)
   libfontconfig.so.1 => /opt/lib/libfontconfig.so.1 (0xb6ad4000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb6abc000)
   libgtk-x11-2.0.so.0 => /opt/lib/libgtk-x11-2.0.so.0 (0xb6758000)
   libgdk-x11-2.0.so.0 => /opt/lib/libgdk-x11-2.0.so.0 (0xb66d0000)
   libatk-1.0.so.0 => /opt/lib/libatk-1.0.so.0 (0xb66b8000)
   libpangoft2-1.0.so.0 => /opt/lib/libpangoft2-1.0.so.0 (0xb6695000)
   libgdk_pixbuf-2.0.so.0 => /opt/lib/libgdk_pixbuf-2.0.so.0 (0xb667f000)
   libpangocairo-1.0.so.0 => /opt/lib/libpangocairo-1.0.so.0 (0xb6674000)
   libcairo.so.2 => /opt/lib/libcairo.so.2 (0xb660f000)
   libpango-1.0.so.0 => /opt/lib/libpango-1.0.so.0 (0xb65d1000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb659b000)
   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6598000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb64c1000)
   libssl3.so => /opt/lib/libssl3.so (0xb6494000)
   libsmime3.so => /opt/lib/libsmime3.so (0xb6470000)
   libnss3.so => /opt/lib/libnss3.so (0xb6350000)
   libplds4.so => /opt/lib/libplds4.so (0xb634c000)
   libplc4.so => /opt/lib/libplc4.so (0xb6347000)
   libnspr4.so => /opt/lib/libnspr4.so (0xb6304000)
   libdl.so.2 => /lib/libdl.so.2 (0xb6300000)
   libm.so.6 => /lib/libm.so.6 (0xb62da000)
   libc.so.6 => /lib/libc.so.6 (0xb6195000)
   /lib/ld-linux.so.2 (0xb7876000)
   libxcb.so.1 => /opt/lib/libxcb.so.1 (0xb617e000)
   libSM.so.6 => /opt/lib/libSM.so.6 (0xb6177000)
   libICE.so.6 => /opt/lib/libICE.so.6 (0xb6161000)
   libz.so.1 => /lib/libz.so.1 (0xb614f000)
   libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb612b000)
   libXinerama.so.1 => /opt/lib/libXinerama.so.1 (0xb6127000)
   libXrandr.so.2 => /opt/lib/libXrandr.so.2 (0xb6120000)
   libXcursor.so.1 => /opt/lib/libXcursor.so.1 (0xb6117000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6034000)
   libXcomposite.so.1 => /opt/lib/libXcomposite.so.1 (0xb6031000)
   libXdamage.so.1 => /opt/lib/libXdamage.so.1 (0xb602d000)
   libXfixes.so.3 => /opt/lib/libXfixes.so.3 (0xb6028000)
   libpixman-1.so.0 => /opt/lib/libpixman-1.so.0 (0xb5fcf000)
   libpng12.so.0 => /opt/lib/libpng12.so.0 (0xb5faf000)
   libXrender.so.1 => /opt/lib/libXrender.so.1 (0xb5fa6000)
   libXau.so.6 => /opt/lib/libXau.so.6 (0xb5fa2000)
   libXdmcp.so.6 => /opt/lib/libXdmcp.so.6 (0xb5f9d000)
   libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb5f14000)
   libresolv.so.2 => /lib/libresolv.so.2 (0xb5eff000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb5efb000)
   librt.so.1 => /lib/librt.so.1 (0xb5ef2000)
   libnssutil3.so.1d => /opt/lib/libnssutil3.so.1d (0xb5edb000)
   libuuid.so.1 => /lib/libuuid.so.1 (0xb5ed7000)
   libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb5eba000)

Regards
Fabian
Title: Re: how to add a flashplayer plugin to firefox
Post by: Elmar on April 11, 2011, 16:30:27 PM
currently i tried libflashplayer.so and it worked without problem
you have to copy libflashplayer.so to /root/.mozilla/plugins

you can compress the .mozilla directory and uncompress it with rc.local. then you can keep the settings of firefox and have the flash stuff

regards
elmar
Title: Re: how to add a flashplayer plugin to firefox
Post by: bluelagoon45 on April 13, 2011, 18:02:24 PM
Hi Elmar,

Many thx for your answer. I tried moving the libflashplayer to /root/.mozilla/plugins but it is still unsuccessfull. Any video from youTube does not start. It seems quite weird, as there is no error saying that the plugin is missing or something similar. When testing the "about:plugins" in the URL bar, this confirms that the flash lib is loaded.
I also tried moving the lib into /root/.mozilla/firefox/plugins, and in this case, Firefox ask me to load the appropriate flash plugin from adobe.
So this confirm that the lib is at the good place.

Any other ideas?
Fabian
Title: Re: how to add a flashplayer plugin to firefox
Post by: Elmar on April 13, 2011, 18:44:57 PM
i tested now youtube and it works without problems