Commit 6277d747 by Szczork

add condition - log speed change / loading video

parent bf1b75f5
...@@ -338,14 +338,16 @@ function (HTML5Video, Resizer) { ...@@ -338,14 +338,16 @@ function (HTML5Video, Resizer) {
newSpeed = parseFloat(newSpeed).toFixed(2).replace(/\.00$/, '.0'); newSpeed = parseFloat(newSpeed).toFixed(2).replace(/\.00$/, '.0');
this.videoPlayer.log( if (this.speed != newSpeed) {
'speed_change_video', this.videoPlayer.log(
{ 'speed_change_video',
current_time: time, {
old_speed: this.speed, current_time: time,
new_speed: newSpeed old_speed: this.speed,
} new_speed: newSpeed
); }
);
}
this.setSpeed(newSpeed, true); this.setSpeed(newSpeed, true);
......
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