1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

Added pause back in on ended so play button goes back to triangle and playing event is fired again.

This commit is contained in:
Steve Heffernan 2012-04-12 15:21:30 -07:00
parent 7d9b0e2629
commit dd8c2a2140

View File

@ -336,6 +336,8 @@ _V_.Player = _V_.Component.extend({
if (this.options.loop) {
this.currentTime(0);
this.play();
} else {
this.pause();
}
},