1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

Added showPoster to onEnded. So poster shows up when the video ends.

This commit is contained in:
Steve Heffernan 2010-10-04 21:34:36 -07:00
parent 79ef734914
commit 49ffeedd1e

View File

@ -496,6 +496,8 @@ var VideoJS = JRClass.extend({
// When the video ends
onEnded: function(event){
this.video.pause();
this.video.currentTime = 0;
this.showPoster();
this.onPause();
},