Postby epgawt » 05 Dec 2008 13:49
Hi,
first of all, I am using 0.8.6i, but the problem is exactly the same, so maybe the workaround I've found may help 0.9.2 users (hopefully me when I decide to upgrade). I am posting this in 0.8.6 posts too.
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