From f8e8a9a34a96c4f948269191b58189a38c4ceb45 Mon Sep 17 00:00:00 2001 From: Valera Rozuvan Date: Wed, 26 Feb 2014 13:14:10 +0200 Subject: [PATCH] Addressing review comments from jmclaus. --- common/lib/xmodule/xmodule/js/src/video/03_video_player.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/lib/xmodule/xmodule/js/src/video/03_video_player.js b/common/lib/xmodule/xmodule/js/src/video/03_video_player.js index d83a2673fc..7000a171bc 100644 --- a/common/lib/xmodule/xmodule/js/src/video/03_video_player.js +++ b/common/lib/xmodule/xmodule/js/src/video/03_video_player.js @@ -410,7 +410,7 @@ function (HTML5Video, Resizer) { ); // 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; if (newTime > this.videoPlayer.endTime || this.videoPlayer.endTime === null) { this.videoPlayer.stopAtEndTime = false; @@ -738,9 +738,8 @@ function (HTML5Video, Resizer) { // We do not want this. // // The flag `skipOnEndedStartEndReset` will notify the - // onEnded() callback for the ENDED event that just this - // once there is no need in resetting the start and end - // times + // onEnded() callback for the ENDED event that there + // is no need in resetting the start-time and end-time. videoPlayer.skipOnEndedStartEndReset = true; videoPlayer.seekToTimeOnCued = time;