[vlc-devel] VLC mozilla plugin controls

Jean-Paul Saman jean-paul.saman at planet.nl
Tue Jan 15 13:32:24 CET 2008


Frans van Veen wrote:
> hi all, I'm still working on a toolbar for mozillaPlugin and like to use 
> the libvlc_event_attach function (include/vlc/libvlc.h) I have a check 
> out of vlc-0.8.6c but can not found the file's 
> (include/vlc/libvlc_structures.h and include/vlc/libvlc_internal.h). 
> What to do?? I don't know if I have to include these file in other *.h 
> files any thoughts.

Pierre was talking about the current development tree vlc/trunk which 
will become v0.9.0 sometime. It would be better if you would base your 
changes on our development version.

The functions you reference too are pretty new in vlc development cycle.

> Pierre d'Herbemont wrote:
>> Hi Frans,
>>
>> On Jan 11, 2008, at 11:46 AM, Frans van Veen wrote:
>>
>>   
>>> We are working on the mozillaPlugin(linux) creating a toolbar (in
>>> xwindow). We have the play and stop button working and like to add a
>>> icon, that moves when the video is playing. Is there a way i can use  
>>> the
>>> VLC API to trigger a function that updates the moving icon, or is  
>>> there
>>> a other solution?
>>>     
>> You'll have to hack a bit the js interface in the plugin. Basically  
>> you have to expose the libvlc_event_* API. Basically all the info is in:
>> include/vlc/libvlc.h
>> include/vlc/libvlc_structures.h
>> src/control/libvlc_internal.h
>>
>> If you need more info tell me. (Basically you just have to listen to  
>> the media_instance state events).
>>
>> Pierre.
>>   
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
> 




More information about the vlc-devel mailing list