Browser plugins and spaces in filenames

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
sridan
New Cone
New Cone
Posts: 1
Joined: 13 Jan 2007 20:49

Browser plugins and spaces in filenames

Postby sridan » 13 Jan 2007 21:18

I have been working on some embedded intranet only media applications in Linux and Windows for a few months now and have not been able to find a good work around for files with spaces in their names. VLC fails to play such files via either the Firefox plugin or the activex plugin in Explorer. The OS the browsers are running in is WinXP Pro, and the browsers are both the latest releases, 2.0.0.1 for Firefox and version 7 for Explorer. Files are being served by Apache in a Linux server. Does anyone have any suggestions for me to try, and is this problem going to be corrected in a future release?

I am also getting an occasional crash in Firefox when trying to open an instance of the embedded VLC via a link. "Runtime Error... R6034". Usually I can just close the error box and continue on my way. Did not see any mention of this on the forums. Any ideas?
Thanks!

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

Re: Browser plugins and spaces in filenames

Postby epgawt » 05 Dec 2008 13:51

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Browser plugins and spaces in filenames

Postby Jean-Baptiste Kempf » 05 Dec 2008 17:33

about:plugins?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: Browser plugins and spaces in filenames

Postby epgawt » 05 Dec 2008 18:08

yes, vlc 0.8.6i plugin for mozilla.


Regards
Enrique

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Browser plugins and spaces in filenames

Postby Jean-Baptiste Kempf » 05 Dec 2008 18:12

No, my question is what other plugins do you have?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: Browser plugins and spaces in filenames

Postby epgawt » 05 Dec 2008 19:43

sorry, here it is, the XP (SP3) Firefox 3.0.4 plug-ins, besides de VLC 0.8.6i:

Adobe Acrobat
Divx Player Netscape Plugin
Divx Web Player v 1.4.2.7
getPlus for Adobe 15235
Google Updater
Java SE 6 U7
Microsoft DRM
Mozilla Default Plug-in
Real Player Version Plugin 6.0.12.1739
Real Player G2 LiveConnect-Enabled Plug-In (32 bit)
Shockwave Flash 9.0 1234
Windos Media Player Plug-in Dynamic Link Library

In windows Vista sp1 I used to have more the R6034 rather than the Firefox Hang.

In Vista, Firefox 3.0.4 I have:

Adobe Acrobat
Divx Player Netscape Plugin
Divx Web Player v 1.4.2.7
Java SE 6 U11
Windows Media Player Firefox Plugin
Mozilla Default Plug-in
Shockwave Flash 10.0 r12
Windows Genuine Advantage 1.7.0069.3


Enrique

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Browser plugins and spaces in filenames

Postby Jean-Baptiste Kempf » 05 Dec 2008 21:40

If you remove DivX players and web player and reinstall VLC does it work betteR?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Browser plugins and spaces in filenames

Postby thannoy » 09 Dec 2008 21:21

For spaces problem, have you tried to replace them by "%20"?
Usually, there is no spaces in URLs but %20 instead (which mean hexa character 0x20).

If it is trivial for you, no offense.

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

Re: Browser plugins and spaces in filenames

Postby epgawt » 13 Dec 2008 20:03

first of all sorry for the delay in my answer.

I have uninstalled the Divx and web players and re-installed vlc, and no apparent change.

I installed 0.9.8a and my workaround does not work so I went back to 0.8.6i until this problem gets definitively fixed.

Enrique

Reinbo
New Cone
New Cone
Posts: 1
Joined: 08 Jan 2009 09:37

Re: Browser plugins and spaces in filenames

Postby Reinbo » 08 Jan 2009 09:43

I experienced the same error with firefox. I re-installed the latest VLC version 0.9.8a but now I did not install the Firefox plug-in option.
Problem "Runtime Error... R6034" is now resolved.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 16 guests