FastRewind command in VLC's ActiveX ?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Dreambox

FastRewind command in VLC's ActiveX ?

Postby Dreambox » 20 Dec 2005 09:36

Hello,
I have tried the VLC's ActiveX and it's very usefull for Visual Basic programs.
But, I miss some commands.
I found the command to Fast Forward the video : .playfaster()
but I would like a command to Fast Rewind the video and to play the video at the normal speed again but I didn't find them.
Could you help me ?

Thanks.

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 20 Dec 2005 10:41

there is no fast rewind, but don't despair, you can simulate the behaviour by using the time propery, which allows you to seek anywhere in the stream.

.i.e, if you want to fast rewind at 2X, you set up a timer which will fire every second and you type the following code in the event callback

VLCPlugin1.Time = VLCPlugin1.Time - 2

to play at normal speed again, just call playSlower()

Dreambox

Postby Dreambox » 20 Dec 2005 17:22

Thanks for the help.

For the playSlower command, it's that I use but if, for example, the fast forward is in 4X, I have to apply playslower 2 times. Then how can I know howmany playSlower I have to sent ?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 11 guests