Get Position and Lenght and Cant Clear Playlist

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
JCuningham
New Cone
New Cone
Posts: 1
Joined: 28 Mar 2009 17:14

Get Position and Lenght and Cant Clear Playlist

Postby JCuningham » 28 Mar 2009 17:25

Im trying to use the VLC ActiveX Plugin in a VB6 Media Player im Building but Im running into two problems.

My first problem is I cant seem to work out how to get the length of the media being played and can't get the position it is playing at. Does anybody know how to get the play time and position in VB6 with VLC?

My other problem is that I cant seem to clear the playlist. When I open the program I can play a file no problem. Its when i try to play a second file it will play the first one again. After its done that it will play the second file. Ive tried clearing the playlist but this dosent work. Does anyone know what it wrong.

Thank You

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Get Position and Lenght and Cant Clear Playlist

Postby revolunet » 31 Mar 2009 10:15

the playlist.clear option is actually bugged. you have to use addItem + playItem for a workaround

for other functions, see http://wiki.videolan.org/Documentation: ... d_above.29
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

m@th
New Cone
New Cone
Posts: 1
Joined: 05 May 2010 19:44

Re: Get Position and Lenght and Cant Clear Playlist

Postby m@th » 05 May 2010 19:46

Quite simple actually, to delete a playlist simply press Ctrl + Del.

Ilasir
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 14 Apr 2010 18:57

Re: Get Position and Lenght and Cant Clear Playlist

Postby Ilasir » 05 May 2010 20:33

Length and position are buggy. There's really not much you can do about it.


Return to “Web and scripting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 23 guests