Problem with ActiveX VLC and VB6

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
maxlife
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2015 16:04

Problem with ActiveX VLC and VB6

Postby maxlife » 01 Apr 2015 16:27

Goodmorning to all,
I have a probem on developing program in vb6 with VLC plugin.
First I explain the situation to better understand the problem.

I use VLC version 2.0.5
I load the ActiveX without problem in this way
Set m_axVLC = Controls.Add("VideoLAN.VLCPlugin.2", "m_axVLC")

When i load a remote file via http in this way:
VLCfname="http://151.40.21.12:9999/archive/folder ... file.oggop
m_axVLC.object.Playlist.Add VLCfname, "", ":rtsp-tcp"
I have an error in vlc state m_axVLC.object.input.State

If I open the file directly from VLC in File or Net Tab it is ok.

Can someone help to me to understand the problem?
Thanks in advance.

Max

maxlife
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2015 16:04

Re: Problem with ActiveX VLC and VB6

Postby maxlife » 01 Apr 2015 17:35

I have found the solution.
For that interested is necessary insert before the add of the file the clear of the playlist
m_axVLC.object.Playlist.Clear

Bye


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 10 guests