Read play state of VLC activex in VB6

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
omega1
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2011 12:58

Read play state of VLC activex in VB6

Postby omega1 » 11 Aug 2012 23:05

Hello all,

I have written a piece of software which streams MP3 audio and uses the WindowsMediaPlayer. I am now having to make it stream AAC+ so I am using the VLC activex, I have been able to make it play the stream correctly, but I need to read it's state (IE, is it playing, buffering, stopped, etc...) which was relatively easy with WMP.

Can anyone help me with how to read these parameters? I have done quite a few searches but have not quite found how to do this.

Any help would be greatly appreciated.

I am using the VLC 1.0.5 version

Many thanks in advance!

theyikes
New Cone
New Cone
Posts: 1
Joined: 29 Mar 2018 16:11

Re: Read play state of VLC activex in VB6

Postby theyikes » 29 Mar 2018 16:13

Did you ever figure out how to get the playstate?

omega1
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2011 12:58

Re: Read play state of VLC activex in VB6

Postby omega1 » 29 Mar 2018 16:53

Wow, this is a blast from the past!

Hi there. No, I never did solve that, I ended up just using Windows Media Player without AAC support.

Sorry, I have no valuable feedback I'm afraid.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Read play state of VLC activex in VB6

Postby da2424 » 31 Mar 2018 01:20

To get the play state, eighter you can use vlc.input.state or the playback events, see https://wiki.videolan.org/Documentation:WebPlugin


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 8 guests