Problem with SPACE in param name

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
rullbandspelare
Blank Cone
Blank Cone
Posts: 11
Joined: 18 Nov 2010 13:48

Problem with SPACE in param name

Postby rullbandspelare » 19 Nov 2010 04:13

Hi!
* How do i specify --dshow-vdev=USB-video in an IE embedded webpage?

The problem is that it ignores everything after a SPACE character in the param name value and uses the first dshow device instead. <param name="Src" value="dshow:// --dshow-vdev=USB-video" />

I am running a Apache webserver on my XP PC and I am serving a page that is viewed on that same machine in IE.
<HTML>
<BODY marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
<OBJECT classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8"
codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
width="400" height="300" id="vlc" events="True">
<param name="Src" value="dshow:// --dshow-vdev=USB-video" />
<param name="ShowDisplay" value="True" />
<param name="AutoPlay" value="True" />
</OBJECT>
</BODY>
</HTML>

Any feedback is appreciated.
Thanks!
/rullbandspelare

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Problem with SPACE in param name

Postby rogerdpack » 19 Nov 2010 12:55

maybe escape quotes inside it, like
value="dshow:// --dshow-vdev=\"USB-video\""

rullbandspelare
Blank Cone
Blank Cone
Posts: 11
Joined: 18 Nov 2010 13:48

Re: Problem with SPACE in param name

Postby rullbandspelare » 20 Nov 2010 10:18

Sorry, that did not help.

It is as if it totaly ignores everything after the SPACE character.
Is there any other way to specify --dshow-vdev whe embedding dshow://?

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Problem with SPACE in param name

Postby rogerdpack » 20 Nov 2010 22:57

%20 instead of spaces?

rullbandspelare
Blank Cone
Blank Cone
Posts: 11
Joined: 18 Nov 2010 13:48

Re: Problem with SPACE in param name

Postby rullbandspelare » 21 Nov 2010 02:52

Thanks for Your effort, but no - that did not work either.
It seams that it is not only the dshow:// that is affected.
something like this works from the command line but not from a webpage as above:
video.mkv --video-filter=invert
In the webpage it will only work when the file is allone like :
<param name="Src" value="video.mkv" />


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests