Page 1 of 1

mozilla plugin example

Posted: 22 May 2005 15:22
by Guest
Please could someone give me example on how to use mozilla plugin

Code: Select all

set_int_variable(var_name, value) : set_bool_variable(var_name, value) : set_str_variable(var_name, value) : get_int_variable(var_name) : get_bool_variable(var_name) : get_str_variable(var_name) :
I already looked at the document but there is no example :( .

Thanks.

Me too! I would like to know the purpose of the get and set?

Posted: 15 Jan 2006 16:37
by atlas
Hi, i would like to know too what is the purpose of this function:

set_int_variable(var_name, value)
set_bool_variable(var_name, value) :
set_str_variable(var_name, value) :
get_int_variable(var_name) :
get_bool_variable(var_name) :
get_str_variable(var_name) :

Anybody can help us please?

I would like to know the media position in the playlist that is playing.
For example:

I have 3 media in my playlist:

1-A
2-B
3-C

If it's the 'B' which is playing, i would like to know that it's the number 2 that's actualy playing OR that it's the media named 'B'.

Thx! Have a good day

Dito

Posted: 15 Feb 2006 20:58
by ken
I too would like to know how to use these functions,

it would appear that the list of variable names is missing, things like "time" and "file_name" i would expect to find here?

ken.

Posted: 16 Feb 2006 02:39
by tonsofpcs
The variables defined in libvlc.c are known to work, I am unsure about other variables.

Posted: 18 Feb 2006 04:26
by ken
The variables defined in libvlc.c are known to work, I am unsure about other variables.
thanks, however, that to me looks like the main VLC source code, with the functions that the Mozilla plugin actually calls, not the Variables that can be fed into var_Create, save a number of "drawable" values?

What i would like to know is if this is where i ask VLC for the current file name, id3 tag info etc. or even if a new track has started in a stream.

Has anyone put together a list of "var_name" values that will return a valid result. "open" returns nothing, and most others i've tried return some gobledy gook.

ken.