Added method getLength() and event Nimbb_playbackTick()

2012-06-08

We added a new method to the Nimbb Player (in versions 1.26.1 and 2.1.1). Using getLength(), you can now get the total duration in seconds of the video using JavaScript. This can be useful if you want to display the length of the video on your web page.

Also, we created a new event Nimbb_playbackTick(). This event is called every second while a video is being played. A parameter "seconds" provides the current progress of the playback. This is great if you want to create a playback progress using JavaScript.

For more information, see the Methods and Events pages.




Share this news:








SIGN UP NOW 7-day free trial

Check out our Developer guide to get started with Nimbb.