Merge pull request #23136 from edx/PROD-159/add-five-seconds-step-to-video-slider
Add five seconds step to video slider
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
min: 0,
|
||||
max: null,
|
||||
slide: state.videoProgressSlider.onSlide,
|
||||
stop: state.videoProgressSlider.onStop
|
||||
stop: state.videoProgressSlider.onStop,
|
||||
step: 5
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -120,6 +120,7 @@ function() {
|
||||
edx.HtmlUtils.HTML('<div class="ui-slider-handle progress-handle"></div>')
|
||||
);
|
||||
|
||||
// xss-lint: disable=javascript-jquery-append
|
||||
this.videoProgressSlider.el.append(sliderContents.text);
|
||||
|
||||
this.videoProgressSlider.slider = this.videoProgressSlider.el
|
||||
@@ -128,7 +129,8 @@ function() {
|
||||
min: this.config.startTime,
|
||||
max: this.config.endTime,
|
||||
slide: this.videoProgressSlider.onSlide,
|
||||
stop: this.videoProgressSlider.onStop
|
||||
stop: this.videoProgressSlider.onStop,
|
||||
step: 5
|
||||
});
|
||||
|
||||
this.videoProgressSlider.sliderProgress = this.videoProgressSlider
|
||||
@@ -327,6 +329,7 @@ function() {
|
||||
msg = ngettext('%(value)s second', '%(value)s seconds', value);
|
||||
break;
|
||||
}
|
||||
// xss-lint: disable=javascript-interpolate
|
||||
return interpolate(msg, {value: value}, true);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user