|
Re: vlc an javascript controls: msg#00293video.videolan.vlc.general
I've add some functions in libvlc.c which can be called via javascript in mozilla here are some of the function which can be used : get_length() get_position() Mute() Is_Mute() Playlist_status() Get_index_of_actual_item_in_playlist() Get_Number_of_item_in_playlist() Access_item_in_playlist(in PRInt64 item_number) prev_in_playlist() next_in_playlist() add_item_to_playlist(in string item_name) slower_video() faster_video() goto_from_begin(in PRInt64 sec) goto_from_current_position(in PRInt64 sec) I just send patches to vlc-devel list. I hope people would like it. I don't take any care in choosing the name of the function. So i hope it would be self explaining :) Le 29/04 13:43, Gildas Bazin a écrit : > On Thursday 29 April 2004 13:20, Valery Roche wrote: > > Version 0.7.2 is very cool ! > > > > But that's not the subject of my message. As I have now the plugin > > fonctional into Mozilla, I'm asking to myself if I can have a large > > control on the embedded vlc. I know how to play, pause or stop a stream. > > But how can I choose to play faster or slower, and what if I want to > > change the size (not fullscreen, I know how to do that). > > > > As an example, on ther same model found on the website, I tried this > > control : ... onClick='document.myvideo.faster()'... > > Doesn't work ! > > Maybe it's not possible. > > > > The restriction here comes from the libvlc api itself. > The api is very basic (because it is very experimental as well) so what is > needed is somebody to work on extending the API. Not an overly difficult > task, but still, coming up with a good API is not always easy. > > > I'd like to have the possibility to navigate inside the http stream (by > > indicating a time code for example), as it is possible inside VLC when > > it's browser independant. Is this possible ? > > > > Same problem. > > > And last : when I read a http stream, VLC doesn't show the right time > > code (except with 0.7.2, but if I navigate in the stream, it indicates > > the time since the play has begun). Do you think it will come in a next > > version ? or maybe I have something to do with the video files (DIVx) ? > > > > If the stream is seekable from the client side, then I guess it should work. > If not then it might be a bug. > > -- > Gildas > > -- > This is the vlc mailing-list, see http://www.videolan.org/vlc/ > To unsubscribe, please read http://www.videolan.org/support/lists.html > If you are in trouble, please contact <postmaster@xxxxxxxxxxxx> > -- This is the vlc mailing-list, see http://www.videolan.org/vlc/ To unsubscribe, please read http://www.videolan.org/support/lists.html If you are in trouble, please contact <postmaster@xxxxxxxxxxxx> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: jerky MPEG-2 elementary stream playback: 00293, Gildas Bazin |
|---|---|
| Next by Date: | Re: vlc an javascript controls: 00293, Valery Roche |
| Previous by Thread: | Re: vlc an javascript controlsi: 00293, Gildas Bazin |
| Next by Thread: | Re: vlc an javascript controls: 00293, Valery Roche |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |