real video plugin

Koos Vriezen koos.vriezen at xs4all.nl
Mon Nov 11 22:34:02 GMT 2002


On Mon, 11 Nov 2002, Till Krech wrote:

> On Sunday 10 November 2002 22:43, Koos Vriezen wrote:
> > On Sun, 10 Nov 2002, Till Krech wrote:
> > > Finally, I found the cause of the problem that a page containing an
> > > embedded real video (displayed with nspluginviewer) cannot be be reloaded
> > > or a subsequent page also containing a realvideo is not correctly
> > > displayed.
> > >
> > > The problem:
> > > The current page is not unloaded before the new one is loaded.
> > > The real plugin is somewhat global. When a new instance is created and
> > > during the creation another one is destroyed, it hangs.
> > >
> > > Is there a way to get a closeURL() in a part before a new openURL() and
> > > not afterwards ?
> > >
> > > you can try it out here:
> > > http://www.n-tv.de/3079196.html
> >
> > Hmmm, if I try it with mozilla and open a new window with the same url,
> > the first realplayer stops playing but isn't destroyed.
> right. But it shows that the both instances are somehow 'connected'.
> > Doing this with konqueror, duplicate window, also works. Only the first
> > window starts playing again. Indeed, reloading doesn't work.
> With two konquerors it works even better than in netscape since there are two
> nspluginviewer processes and they don't influence each other. But artswrapper
> must be enabled otherwise the plugin instances start fighting for the audio
> device. Reloading or clicking one of the links creates a new plugin instance
> in the same nspluginviewer process - with the same loaded shared library. One
> instance tries to start up, then the other one is destroyed. I think the
> instance which is desroyed does then a 'NPPShutdown' call in the library and
> this confuses the other one.

So they do influence each other.
What I was refering to was that in Mozilla the new player starts playing
and the old one stops. In konqueror the old one starts playing and the new
one doesn't. So if you reload, and you get temporary two players, it tries
to start the old one which gets destroyed later (just guessing :).
Another guess would be that a destruction of the player tries to unload
the plugin and corruption the other player.
[..]

Koos





More information about the kfm-devel mailing list