VLC 2.0.4 WinXP ActiveX opens new window

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
mddirba
New Cone
New Cone
Posts: 2
Joined: 22 Mar 2012 23:32

VLC 2.0.4 WinXP ActiveX opens new window

Postby mddirba » 27 Nov 2012 19:26

Problem: Instead of playing video inside the current browser window IE opens a new window titled "VLC (software RGB DirectX ouput)" this is not the case when VLC media player 2.0.1 is installed. Any ideas for why this is happening would be appreciated.

http://imgur.com/J6oJd
Image

VLC media player 2.0.4 Twoflower installed on
Windows XP Professional Service Pack 3 with latest updates as of 11/27/2012

The active X object embedded on the fly for hosts running IE looks like this

Code: Select all

<div id="play"> <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab" width="640" height="480" id="vlc" events="True"> <param name="autoplay" value="false" /> <param name="toolbar" value="false" /> <param name="mute" value="true" /> <param name="src" value="" /> <param name="name" value="wmode" /> <param name="value" value="transparent" /> </object> </div>
Javascript code to start player looks like this

Code: Select all

var name = 'vlc'; if (window.document[name]) { this.plugin = window.document[name]; } else if (PluginDetect.isIE && document.embeds && document.embeds[name]) { this.plugin = document.embeds[name]; } else { this.plugin = document.getElementById(name); } this.plugin.playlist.add('rtsp://' + hostname + ':8557/PSIA/Streaming/channels/2?videoCodecType=H.264';, '', [":rtsp-tcp"]);

marvazmor
New Cone
New Cone
Posts: 2
Joined: 29 Nov 2012 10:37

Re: VLC 2.0.4 WinXP ActiveX opens new window

Postby marvazmor » 29 Nov 2012 10:51

Hi all ...

I have the same problem. I'm programming an application in VB.Net 2012 and when I open a FormChild with VLC ActiveX control, automatically opens another FORM is different and not FormChild.

If I do the same in a normalFORM, nothing happens, it plays the corresponding stream and ready, but when the control is in a FormChild, opens two forms: one in which the FormChild does not play anything, and another form that is not FormChild, which plays the stream itself.

How do I fix this?

Thanks and regards.
https://mail-attachment.googleuserconte ... pI_hjW0sow


SO: Windows 7 Ultimate 64 Bits - VLC 2.0.4 32 Bits
Last edited by marvazmor on 29 Nov 2012 11:07, edited 2 times in total.

marvazmor
New Cone
New Cone
Posts: 2
Joined: 29 Nov 2012 10:37

Re: VLC 2.0.4 WinXP ActiveX opens new window

Postby marvazmor » 29 Nov 2012 10:55

As an example I designed a form with four VLC ActiveX controls. The post with the following code:

formVLC.mdiparent = I
formVLC.show ()

And what it does is open the FormChild which show four logos of VLC. It also opens a form for each ActiveX control VLC. And all these forms are called "VLC (Open DIRECTX 3D)"

https://mail-attachment.googleuserconte ... pI_hjW0sow

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: VLC 2.0.4 WinXP ActiveX opens new window

Postby Jean-Baptiste Kempf » 02 Dec 2012 14:35

This is weird. PAtch is welcome.
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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests