Commit 77f3e4f9 by Shiwen Cheng

fix the bug: when click a caption, the previous one will be in bold

parent 21a9446b
......@@ -500,11 +500,11 @@ function () {
// Total play time changes with speed change. Also there is
// a 250 ms delay we have to take into account.
time = Math.round(
Time.convert(time, this.speed, '1.0') * 1000 + 250
Time.convert(time, this.speed, '1.0') * 1000 + 150
);
} else {
// Total play time remains constant when speed changes.
time = Math.round(parseInt(time, 10) * 1000);
time = Math.round(parseInt(time, 10) * 1000 + 150);
}
newIndex = this.videoCaption.search(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