ActiveX detect end of stream

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
JumpyVLC
New Cone
New Cone
Posts: 1
Joined: 28 Oct 2006 08:39

ActiveX detect end of stream

Postby JumpyVLC » 28 Oct 2006 08:51

Hello,
I'm making an audio player with VB 2005 and I was thinking of using VLC ActiveX.

This is how I open an audio file and start playing it:

Code: Select all

VLC.playlistClear() VLC.addTarget("D:\Track03.MP3", Nothing, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0) VLC.play()
But how can I detect the end of the audio track??
The pauseEvent, playEvent and stopEvent did not seem to work. And I could not find an event for end of stream!

Or should I use another component, since I do not need to use the built in playlist functions included in the ActiveX plugin?

PS: I have AutoLoop and AutoPlay disabled.[/code]

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 60 guests