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