how to use onNewPosition of slider using vlccontrol object
Posted: 27 Mar 2009 18:11
hi,
in the application i am using firefox3.0.5 and vlc0.9.8a and windows os.
i want to trigger a function using onNewPosition of slider. this I want using vlccontrol object.
I am calling this function using
vlc_control.slider.onNewPosition = changeImage();
changeimage is the function that i want to call on slider position change.
requirement is whenever the vlc_control.target.input.time equals a specific time(in millisecs) that is selected, it should call changeimage function.
i am trying to use onNewPosition but it is not calling the function.
what could be the reason, since this is the way how onNewPosition is called in VLCcontrol.js file.
can anybody help me out in this?
in the application i am using firefox3.0.5 and vlc0.9.8a and windows os.
i want to trigger a function using onNewPosition of slider. this I want using vlccontrol object.
I am calling this function using
vlc_control.slider.onNewPosition = changeImage();
changeimage is the function that i want to call on slider position change.
requirement is whenever the vlc_control.target.input.time equals a specific time(in millisecs) that is selected, it should call changeimage function.
i am trying to use onNewPosition but it is not calling the function.
what could be the reason, since this is the way how onNewPosition is called in VLCcontrol.js file.
can anybody help me out in this?