Looking at <http://www.videolan.org/doc/play-howto/ ... l#id310965> (version > 0.8.5.1), I can see there's an option to get the video position in milliseconds via the input.time getter. However, I have 2 questions.
1. Is there a way to pass the plugin a callback function that the plugin calls (at some interval) to show time updates? Or, do I have to use setInterval in JS to poll input.time?
For example, plugin.onpositionchange = function(ps) {alert(ps + "ms");};
2. input.time returns in milliseconds. However, I want it in years (optional) + days + hours + minutes + seconds + milliseconds. I can do this in JS, but does the plugin offer any way for it to do the conversion?
For example, an input.position object that had getYearPart, getDayPart, getHourPart, getSecondPart and getMillisecondPart functions would be great. Yet, I don't see anything like that.
Thanks