[opensuse-kde3] kde3-kmplayer: No knpplayer

Hello, The weak point Konqueror in KDE3 was always Flash, and it seems to continue this day. This morning I was visiting a website where nspluginviewer was laucnhed and crashed at every page, so I started looking for solutions. On the internet you find a work-around using Kmplayer, basically you should do: zypper install kde3-kmplayer kwriteconfig --file /opt/kde3/share/config/kmplayerrc --group "application/x-shockwave-flash" --key player npp kwriteconfig --file /opt/kde3/share/config/kmplayerrc --group "application/x-shockwave-flash" --key plugin /usr/lib/browser-plugins/libflashplayer.so kbuildsycoca --global ... and then modify the file associations in Konqueror so application/x-shockwave-flash is associated with kmplayer rather than nspluginviewer. I tried this, and discovered it didn't work. A reason is the knpplayer executable is not part of the rpm. I started looking at the source rpm and saw it had been disabled because it didn't build anymore on modern OpenSuSE systems. After a few hours of playing with the build system; I managed to build it correctly again on my OpenSuSE 11.4 system. The reason knpplayer doesn't build is that the configure script is overwritten, and the configure.in generates a configure script that doesn't recognize the switch to enable knpplayer. This is fixed by a small patch to configure.in, downloadable here: http://www.freepascal.org/~daniel/kmplayer-update-configurein.patch Then some modifications to the spec file are needed to apply the patch and ensure correct build, patch here: http://www.freepascal.org/~daniel/kde3-kmplayer.spec.patch With these modifications knpplayer will end up in the rpm again, and kmplayer thinks it can display Flash files. Do I have Flash in Konqueror now? Unfortunately not, a lot more is happening than with nspluginviewer, but the Flash animations don't appear yet :( But would it be possible to apply at least these patches? Best regards, Daniël Mantione

On Friday 17 June 2011 17:25:01 Daniël Mantione wrote:
The weak point Konqueror in KDE3 was always Flash, and it seems to continue this day. This morning I was visiting a website where nspluginviewer was laucnhed and crashed at every page, so I started looking for solutions.
For me Flash works well in Konq. What does not work properly is javascript.
On the internet you find a work-around using Kmplayer, basically you should do:
zypper install kde3-kmplayer kwriteconfig --file /opt/kde3/share/config/kmplayerrc --group "application/x-shockwave-flash" --key player npp kwriteconfig --file /opt/kde3/share/config/kmplayerrc --group "application/x-shockwave-flash" --key plugin /usr/lib/browser-plugins/libflashplayer.so kbuildsycoca --global
... and then modify the file associations in Konqueror so application/x-shockwave-flash is associated with kmplayer rather than nspluginviewer.
I tried this, and discovered it didn't work. A reason is the knpplayer executable is not part of the rpm. I started looking at the source rpm and saw it had been disabled because it didn't build anymore on modern OpenSuSE systems.
After a few hours of playing with the build system; I managed to build it correctly again on my OpenSuSE 11.4 system.
The reason knpplayer doesn't build is that the configure script is overwritten, and the configure.in generates a configure script that doesn't recognize the switch to enable knpplayer. This is fixed by a small patch to configure.in, downloadable here:
http://www.freepascal.org/~daniel/kmplayer-update-configurein.patch
Then some modifications to the spec file are needed to apply the patch and ensure correct build, patch here:
http://www.freepascal.org/~daniel/kde3-kmplayer.spec.patch
With these modifications knpplayer will end up in the rpm again, and kmplayer thinks it can display Flash files. Do I have Flash in Konqueror now? Unfortunately not, a lot more is happening than with nspluginviewer, but the Flash animations don't appear yet :(
But would it be possible to apply at least these patches?
Can you buil it in OBS and make a submitrequest then? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Friday 17 June 2011 17:25:01 Daniël Mantione wrote:
But would it be possible to apply at least these patches?
I have commited your patch, thanks. But for the future it will be easier for you to just register in OBS, then click "branch this package", edit the files through the web interface and click "submit the changes back" -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

Op Sun, 19 Jun 2011, schreef Ilya Chernykh:
On Friday 17 June 2011 17:25:01 Daniël Mantione wrote:
But would it be possible to apply at least these patches?
I have commited your patch, thanks. But for the future it will be easier for you to just register in OBS, then click "branch this package", edit the files through the web interface and click "submit the changes back"
Ok, thanks! I'm new to this, I hadn't yet time to figure out how to do it with OBS. Daniël Mantione

On Friday 17 June 2011 17:25:01 Daniël Mantione wrote:
But would it be possible to apply at least these patches?
...still after your patch it does not play .swf files. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

Op Sun, 19 Jun 2011, schreef Ilya Chernykh:
On Friday 17 June 2011 17:25:01 Daniël Mantione wrote:
But would it be possible to apply at least these patches?
...still after your patch it does not play .swf files.
That's what I tought too. But while browsing with it activated I suddently had a website with Flash animations playing, and it was the kmplayer part that was playing them. So something is working, I haven't yet figured out why it worked there and not e.g. on Youtube. Best regards, Daniël Mantione

On Fri, Jun 17, 2011 at 9:25 AM, Daniël Mantione <daniel.mantione@freepascal.org> wrote:
The weak point Konqueror in KDE3 was always Flash, and it seems to continue this day. This morning I was visiting a website where nspluginviewer was laucnhed and crashed at every page, so I started looking for solutions.
Are you running 32 or 64bit? If you are on 64bit are you using nspluginwrapper as well?(if so, please remove it. It's actually bad to use it on 64bit). I'm using a fresh install of 11.0 on a 32 bit system and I get a crash everythime Konq tries to load flash(Konq keeps running tho). I have the newest 10.3 version of flash. I'm debating updating this system to 11.4, but it's my main laptop, so having it work is a priority. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Sunday 19 June 2011 19:29:08 Larry Stotler wrote:
The weak point Konqueror in KDE3 was always Flash, and it seems to continue this day. This morning I was visiting a website where nspluginviewer was laucnhed and crashed at every page, so I started looking for solutions.
Are you running 32 or 64bit? If you are on 64bit are you using nspluginwrapper as well?(if so, please remove it. It's actually bad to use it on 64bit).
I'm using a fresh install of 11.0 on a 32 bit system and I get a crash everythime Konq tries to load flash(Konq keeps running tho). I have the newest 10.3 version of flash. I'm debating updating this system to 11.4, but it's my main laptop, so having it work is a priority.
I am running 64-bit systems on both my desktop and laptop. On both systems flash works well with Konqueror without any crashes. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org
participants (3)
-
Daniël Mantione
-
Ilya Chernykh
-
Larry Stotler