[vlc-devel] Re: Mozilla Plugin

Sigmund Augdal sigmunau at stud.ntnu.no
Mon Mar 29 13:33:08 CEST 2004


I think it sounds good. Provided the code is clean, this is definitly
something we could need. Do you know how these functions compare to similar
functions in other plugins?

Sigmund

On Fri, Mar 26, 2004 at 04:49:00PM +0100, Michael Pron wrote:
> I've wrote some functions for the mozilla plugin.
> Those modifications enabled the call of some VLC functions via javascript.
> Among them, some functions can get informations of the current playlist (number of the file in the playlist, status, ...). Some others, get informations on the files played (position, length, .. ). Until now some functions work only with avi files (to get the position especially).
> 
> Theses modifications are in some points quite piggy.
> So is there any interest for videolan to add these functions in the code of the plugin ?? 
> If yes I'll try to "unpiggy" it and improve it (as much as i can). 
> 
> Michaël Pron
> 
> PS : 
> a list of the added functions in vlcintf.idl :
> 
> get_position(); 
> get_length(); 
> get_rate(); 
> goto_from_current_position(in PRInt64 sec); # move to the number of second sec specified
> goto_from_begin(in PRInt64 sec); # go to the position sec in seconds
> faster_video(); 
> slower_video(); 
> add_item_to_playlist(in string item_name); 
> next_in_playlist(); 
> prev_in_playlist(); 
> Access_item_in_playlist(in PRInt64 item_number); # access a file given his number
> Get_Number_of_item_in_playlist(); # get the numbers of item in the current playlist
> Get_index_of_actual_item_in_playlist(); # get the number of the current item in the current playlist
> Playlist_status(); # get the status to the playlist (Play, Pause, Stop)
> Mute(); 
> Is_Mute(); 
> Stop_video(); # stop the video without destroying the playlist
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list