mozilla plugin: seek ff / bw

Feature requests for VLC.
hog

mozilla plugin: seek ff / bw

Postby hog » 08 Dec 2004 09:33

Hi!

First of all: thanks for vlc - real great work, guys!

I'd like to know, if it's possible to implement (maybe with a little financial aid from my side) seeking ( forward / backward ) into the mozilla plugin?

Or is it completely impossible due to restrictions in the HTTP-protocol?

TIA

hog

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 08 Dec 2004 10:09

mozilla plugin isn't limited to http protocol. And I think it allready support seeking (with hotkeys) where the protocol supports it.

hog

Postby hog » 08 Dec 2004 10:39

Thank you for your quick reply!

Maybe I should have stated, that I defininitely want to use http, as it allows me to provide a large amount of files (on demand) to my students via APACHE without the need to stream them...
I just load them into the filesystem and dynamically generate html-pages with the file embedded...

Could you tell me, which hotkeys you were talking of?

I already took a quick look at the sources and only found the 4 commands mentioned in the Chapter 7 example:

Code: Select all

/***************************************************************************** * Scriptable peer plugin methods *****************************************************************************/ NS_IMETHODIMP VlcPeer::Play() { if( p_plugin ) { if( !p_plugin->b_stream && p_plugin->psz_target ) { VLC_AddTarget( p_plugin->i_vlc, p_plugin->psz_target, 0, 0, PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END ); p_plugin->b_stream = 1; } VLC_Play( p_plugin->i_vlc ); } return NS_OK; } NS_IMETHODIMP VlcPeer::Pause() { if( p_plugin ) { VLC_Pause( p_plugin->i_vlc ); } return NS_OK; } NS_IMETHODIMP VlcPeer::Stop() { if( p_plugin ) { VLC_Stop( p_plugin->i_vlc ); p_plugin->b_stream = 0; } return NS_OK; } NS_IMETHODIMP VlcPeer::Fullscreen() { if( p_plugin ) { #ifdef XP_MACOSX #else VLC_FullScreen( p_plugin->i_vlc ); #endif } return NS_OK; }

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 08 Dec 2004 11:17

hotkeys like pressing (shift/crtl/alt)left/right when video has focus.

It works over http for some file types, specifically it does not work for avi/mp4.

hog

Postby hog » 08 Dec 2004 12:04

Thanks again...

Sigmund, you are so right!
ALT-LEFT/RIGHT works - but not with all files...

MPEG1/2 seems to work
MPEG4/divx doesnt
...just as you predicted!

Quicktime seems to work, but Firefox creates a cpu load of 100% and doesnt resume the video... But maybe the few mov-files i have are crap...

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 08 Dec 2004 12:07

mpeg4/divx should work as well if they are contained in ogm or matroska(.mkv). Haven't tried myself yet though


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 5 guests