Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tty-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ ISP.render = function() {
this.fireSimpleEvent("timeupdate");
this.ttyPlayer["pause"]();
this.fireSimpleEvent("ended");

if (this.ttyPlayer["poster"] != "") {
this.ttyPlayer["currentTime"] = 0;
this.showPoster = true;
}
}
} else {
// Do we need to fire a timeupdate event? We should do them every 66–350ms; Firefox does 250 for video, but because the average length is going to be shorter and because I can, I’m going for 100ms.
Expand Down