VLC and the mozilla plugin question

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Nitrius

VLC and the mozilla plugin question

Postby Nitrius » 02 Apr 2006 22:22

When i play of movies and stuff trough Firefox with the VLC and the mozilla plugin installed, i can see the movie, but i cant like lower or higher the sound, stop or play and that kind of things, all i see is the video.

So the question, is it possible to add some buttons or something so i can steer the video in some way?

sackraid

Postby sackraid » 04 Apr 2006 06:16

same

Nitrius

Postby Nitrius » 04 Apr 2006 18:56

Anyone?

Guest

Postby Guest » 04 Apr 2006 20:49

Same here, I hope someone knows how to solve this, thanks.

Guest

Postby Guest » 16 May 2006 22:17

same problem...

KevinP
New Cone
New Cone
Posts: 9
Joined: 03 Mar 2006 15:39

Postby KevinP » 17 May 2006 09:47

The vlc plugin supports the following function calls:

play() : Start playing media in the plugin.
pause() : Pause playback.
stop() : Stop media playback.
fullscreen() : Switch the video to full screen.
set_volume(vol) : Set the volume. vol has to be an int in the 0-200 range.
get_volume() : Get the current volume setting.
mute() : Toggle volume muting.
set_int_variable(var_name, value) :
set_bool_variable(var_name, value) :
set_str_variable(var_name, value) :
get_int_variable(var_name) :
get_bool_variable(var_name) :
get_str_variable(var_name) :
clear_playlist() : Clear the playlist.
add_item(mrl>) : Append an item whose location is given by the Media Resource Locator to the playlist.
next()
previous()
isplaying() : return true if the plugin is playing something.
get_length() : Get the media's length in seconds.
get_position() : Get the current position in the media in percent.
get_time() : Get the current position in the media in seconds.
seek(seconds,is_relative) : If is_relative is true, seek relatively to current time, else seek from beginning of the stream. Seek time is specified in seconds.


So if you are the owner of the page, you can modifie the code to include this function

<br />
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
.
.
< put here what you need>
.
</body>

If you are not the owner, and you are opening just a video in a site, you still able to use the hotkey.

pause = space
volume up = ctl + up
....


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 54 guests