Page 1 of 1

Some problems with 1.0 RC2's ActiveX ;-)

Posted: 27 May 2009 22:31
by cinfo
Hi,

Here are the problems I encounter with 1.0 RC2's ActiveX :

1) It doesn't seem possible to create on the fly a control with the activex in a program if the program and the activex are in the same folder. For instance, if Test.exe is a program compiled in VB6 with the code line Set ContrĂ´le = Controls.Add("Videolan.VLCPlugin.2", "Test"), it works fine if Test.exe is in another folder than axvlc.dll but it is neverending looping if Test.exe is in the same folder than axvlc.dll. This didn't occur in previous version (including 0.9.9), it occurs only in 1.0.

2) I don't understant why, but I can't play web streams with ActiveX ... The command vlc.playlist.Add("rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=sd", Split("", "|")):vlc.playlist.play (Free's streams) works fine but not the command vlc.playlist.Add("http://playlist.yahoo.com/makeplaylist.dll?id=1368570", Split("", "|")):vlc.playlist.play (NASA web stream). :shock:

3) The "wallpaper" function doesn't seem to work. The parameters overlay|:directx-wallpaper|, which work fine in previous versions, doesn't work with 1.0 (audio is OK but not video).

4) The video parameters (brightness, contrast, ...) doesn't seem to work with the usual ActiveX's command :video-filter=adjust|:brightness=... (or :vout-filter=adjust|:brightness=...).

All these examples work fine with previous versions of VLC and with VLC (not ActiveX) 1.0.

cinfo :)

Re: Some problems with 1.0 RC2's ActiveX ;-)

Posted: 28 May 2009 00:47
by Jean-Baptiste Kempf
1) fill a bug, but I doubt noone will fix that easily...
2) more infos?
3) In activeX only?
4) This is normal, limited by security issues.

Re: Some problems with 1.0 RC2's ActiveX ;-)

Posted: 29 May 2009 20:57
by cinfo
Thx,

1) I've created my trac's account (cinfo), can you validate it ?
2) What I am saying is that I can't play HTTP streams (Web TV or Web radio) through ActiveX (with addtarget); RTSP streams are OK
3) Yes. All points described in my topic are working in "normal" VLC but not through ActiveX usual commands (which are working with previous versions of VLC's ActiveX)
4) Is it new in 1.0 ? Because it was OK in 0.99.

:)

cinfo

Re: Some problems with 1.0 RC2's ActiveX ;-)

Posted: 29 May 2009 23:03
by Jean-Baptiste Kempf
1) done.
2) proxy?
3) fill a bug, probably security limitation
4) yes.

Re: Some problems with 1.0 RC2's ActiveX ;-)

Posted: 31 May 2009 16:13
by cinfo
1) Thanks, I will see how it works. :wink:
2) No. I have made new tests and the problem seems to be that, through ActiveX, the URL is not "executed" as it was in previous version :
For instance, RTL's official URL is an ASX file (http://radio.rtl.fr/rtl.asx) containing the stream URL (http://92.61.164.12:80/rtl-1-44-96).
If I put "http://radio.rtl.fr/rtl.asx" in the ActiveX's addTarget command, that doesn't work.
If I put "http://92.61.164.12:80/rtl-1-44-96" in the ActiveX's addTarget command, all is OK.
I hope this can help. :)
3 & 4) Which kind of security issue ? How can these commands be dangerous ? Is there a list of commands newly restricted ?

cinfo