How to implement fast forward for vlc-mozilla-plugin?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
et_me
Blank Cone
Blank Cone
Posts: 11
Joined: 20 May 2005 13:32

How to implement fast forward for vlc-mozilla-plugin?

Postby et_me » 21 Jun 2005 05:10

Hi, i'm trying to implement fast forward, rewind buttons for the
vlc-mozilla-plugin... i suppose i have to set some variable using the
set_str_variable javascript function but i can't find wich variable
name to use. Is there a list of variable names i can use with the
functions set_int_variable, set_str_variable, set_bool_variable?

I been googling but failed. Any help is appreciated. Thankz in advance

KillaB

Postby KillaB » 21 Jun 2005 05:29

Not sure about the variables, but I assume you've seen the list of available commands:
http://www.videolan.org/doc/play-howto/ ... l#id295937

I'm trying to figure out how to use ondblclick= instead of onclick= to toggle mute along with the fullscreen function. Any ideas there?

Cheers,
Jason

et_me
Blank Cone
Blank Cone
Posts: 11
Joined: 20 May 2005 13:32

Postby et_me » 21 Jun 2005 06:26

ya...there is list of command but do not have fast forward and rewind command. hmm...i got search something about writing a line of code in mozilla/vlcintf.idl and some code in mozilla/vlcpeer.cpp. But due to i do not know C++ at all, i dunno how to start it.

For the double click one,

<input type="button" value="Play" ondblclick="play();" />

Is that wat u want?

KillaB

Postby KillaB » 21 Jun 2005 08:01


For the double click one,

<input type="button" value="Play" ondblclick="play();" />

Is that wat u want?
Not quite. I have a 3x3 matrix running an instance of the plugin in each and nothing else. Everything is muted on startup. When I doubleclick on any one of the videos to make it fullscreen I also want to toggle the audio. When I doubleclick to undo the fullscreen, I'd like it to mute again. I can do this currently with a button (below), but I'd like to double up on the doubleclick feature that's already there.

<a href="javascript:;" onclick='document.video1.fullscreen();document.video1.mute()'>Fullscreen</a>

As far as I know, since there isn't an option for this in the plugin....I'd need to do the same as you and I'm not much of a programmer.

KillaB

Postby KillaB » 21 Jun 2005 08:13

This won't help you if you require this in mozilla, but.....
I'm assuming you already know that what you seek is available in the ActiveX plugin?

KillaB

Postby KillaB » 13 Jul 2005 01:31

Take a look at the new plugins demo page thanks to dionoea.
There are examples of the Mozilla plugin with -/+10 second buttons.

http://vthr.videolan.org/~dionoea/vlc-plugin-demo/


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests