Callback for [jme] plugin once video has finished playing
I'm using jme (
http://www.protofunc.com/jme) to play videos with the new html5 video tag and OGG codec.
Works fine - but now I need to have some sort of callback once a video has finished playing.
How can I determine when a video has finished playing to take some action?
There's a method .isPlaying() which could be used for this but maybe there's a more elegant way.
Thanks!