fix lint and bug

This commit is contained in:
Cameron 2020-07-31 10:36:08 +01:00
parent 49c1b3e159
commit 7ffb7ab0fc

View File

@ -1988,7 +1988,7 @@ class PlaybackManager {
throw new Error('player cannot be null'); throw new Error('player cannot be null');
} }
let playerTime = Math.floor(10000 * (player || self._currentPlayer).currentTime()); let playerTime = Math.floor(10000 * (player).currentTime());
const streamInfo = getPlayerData(player).streamInfo; const streamInfo = getPlayerData(player).streamInfo;
if (streamInfo) { if (streamInfo) {