Commit f8e8a9a3 by Valera Rozuvan

Addressing review comments from jmclaus.

parent 91ec617c
...@@ -410,7 +410,7 @@ function (HTML5Video, Resizer) { ...@@ -410,7 +410,7 @@ function (HTML5Video, Resizer) {
); );
// After the user seeks, the video will start playing from // After the user seeks, the video will start playing from
// the seeked to point, and stop playing at the end. // the sought point, and stop playing at the end.
this.videoPlayer.goToStartTime = false; this.videoPlayer.goToStartTime = false;
if (newTime > this.videoPlayer.endTime || this.videoPlayer.endTime === null) { if (newTime > this.videoPlayer.endTime || this.videoPlayer.endTime === null) {
this.videoPlayer.stopAtEndTime = false; this.videoPlayer.stopAtEndTime = false;
...@@ -738,9 +738,8 @@ function (HTML5Video, Resizer) { ...@@ -738,9 +738,8 @@ function (HTML5Video, Resizer) {
// We do not want this. // We do not want this.
// //
// The flag `skipOnEndedStartEndReset` will notify the // The flag `skipOnEndedStartEndReset` will notify the
// onEnded() callback for the ENDED event that just this // onEnded() callback for the ENDED event that there
// once there is no need in resetting the start and end // is no need in resetting the start-time and end-time.
// times
videoPlayer.skipOnEndedStartEndReset = true; videoPlayer.skipOnEndedStartEndReset = true;
videoPlayer.seekToTimeOnCued = time; videoPlayer.seekToTimeOnCued = time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment