Address review comments

This commit is contained in:
Vasily 2020-04-07 23:32:08 +03:00
parent 300d7adbf5
commit a54e381c78

View file

@ -184,7 +184,7 @@ define(['appSettings', 'browser', 'events'], function (appSettings, browser, eve
// as this is true only if video hasn't started yet or
// user rewound to the very beginning
// (but rewinding cannot happen as the first event with media of non-empty duration)
console.log("seeking to " + seconds + " on " + e.type);
console.debug(`seeking to ${seconds} on ${e.type} event`);
setCurrentTimeIfNeeded(element, seconds);
events.map(function(name) {
element.removeEventListener(name, onMediaChange);