I have a simple video html5 tag, bound to an \"ended\" event:
$(\'#video\').show().trigger(\"play\").bind(\'ended\', function () { //code }
You can use something like
$('#video').show().trigger("play").bind('ended', function () { this.currentTime = 0; }
You can only set the currentTime if the loadedmetadata event has passed.