[vlc-devel] Re: Mozilla Plugin

Derk-Jan Hartman hartman at videolan.org
Sun Jun 6 15:05:07 CEST 2004


We agree, that some additions to libvlc.c were definitely useful and 
necessary. However we wanted to make sure we wouldn't have to change 
this a couple of times in the future. Your suggestions are OK, but they 
use some functions etc, which aren't allowed to be used at this level 
of VLC anymore.

So we have decided to rework the entire libvlc.c and vlc.h files and 
clean them up properly. Also adding doxygen documentation at the same 
time and removing and fixing some outdated parts, renaming some things, 
as well as add some new functions inspired by your suggestions, but 
written from scratch.

Thank you for your work and your inspiration,
greeting DJ

On 29 apr 2004, at 14:10, Michael Pron wrote:
> Hi,
>
> Here i send you the patches of the work I've done on the mozilla 
> plugin.
> I hope it can help.
> I add some functions in libvlc.c, and in vlcpeer.cpp. Now, you can 
> call via javascript some functions like:
>
>  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)
>
>
> patch_libvlc : cvs diff -u ./src/libvlc.c
> patch_mozilla : cvs diff -u ./mozilla
> patch_include_vlc : cvs diff -u ./include/vlc
>
> mkl
> <patch_mozilla><patch_libvlc><patch_include_vlc>
----
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman

-- 
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