Page 1 of 1

VLC 0.8.6i + Firefox 3 = error

Posted: 15 Jul 2008 12:35
by e6964822
I intall the new VLC 0.8.6i with full instalation.

We are sending one multicast stream in our lan using VLC. And we capture and show this video
stream into a web browser (VLC web browser) The first time we can see this error message:

Runtime Error!

Program: C:\Archivos de programas\Mozilla Firefox\firefox.exe

R6034

But we can see the video in the web.

An applications has made attempt to load the C runtime libray incorrectly.
Please contact the application's suppert team for more information.

The second time we can not see the error message but we can not recive the video stream.
(we always send multicast video stream in olders firefox and allways this goes well)

As well as we try the VLC 0.8.6h and anothers olders with firefox 3 and not goes well to.

Re: VLC 0.8.6i + Firefox 3 = error

Posted: 05 Dec 2008 09:31
by epgawt
Hi,

The situation where I got R6034 crash was when opening the window with the plugin and in the onload event I tried to start playing.

Solution:

<BODY onload="adjust2Window();sleepy(500); playit();" >

where adjust2Window is window resizing stuff, playit calls the "play" method in the plugin, and sleepy is:

function sleepy(naptime){
var sleeping = true;
var now = new Date();
var alarm;
var startingMSeconds = now.getTime();
while(sleeping){
alarm = new Date();
alarmMSeconds = alarm.getTime();
if(alarmMSeconds - startingMSeconds > naptime){
sleeping = false;
}
}
}


BTW, using the same approach I solved too a Firefox 3.0.4 Hang in XP (SP3) when closing the window while it is still playing ( I am posting this where I find the same problem in the forum)

<BODY onload="adjust2Window();sleepy(500); playit();" onunload="stopit();sleepy(500);" >

stopit calls the plugin stop method.

Regards
Enrique

Re: VLC 0.8.6i + Firefox 3 = error

Posted: 05 Dec 2008 10:51
by e6964822
Thank you very mush!!!!!!!!!!!!!!!!!!!!!!!!!!!! :P :lol: yeeesss!! yeah!!!!!!!!! Thank you!!! Feliz Navidad!!!!