v.0.9.6 browser plugins won't work

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
hyper.sonic
New Cone
New Cone
Posts: 2
Joined: 09 Nov 2008 17:07

v.0.9.6 browser plugins won't work

Postby hyper.sonic » 14 Nov 2008 12:50

Hi there,
I have posted this a few days ago in the web scripting forum but did not get any response - so hopefully I will find someone in this forum.
I am using the v.0.9.6 plugin (current version 2008-11-13) for FF with FF 3.0.4 and ActiveX control with IE 7 on Win XP SP3.
When I open a html page using the VLC plugin I still get this annoying C++ runtime library error R6034 on FF (can anyone solve this please!!). Ok, I'm almost used to this problem now, so let's continue, maybe sometimes even this problem will be solved.
But then: the video is not starting automatically anymore (it does with vlc-0.9.6-git-20081104) and when I use playlist.play() FF crashes completely. Same with IE 7.
When I re-install the nightly build again, everythings works fine again (aside from the Visual C++ error).
Yes, I have removed all preferences and caches while installing 0.9.6.
The errors are reproducable - I just have tested it with videos coming over http.

You can check this out at following websites:
- www.zdf.de, then klick on a video and choose VLC as player
- http://code.revolunet.com/VLCobject/EN

Thanks
Hyper.Sonic

epgawt
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Dec 2008 09:14

Re: v.0.9.6 browser plugins won't work

Postby epgawt » 05 Dec 2008 13:46

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 40 guests