mirror of
https://github.com/videojs/video.js.git
synced 2025-07-11 01:20:15 +02:00
refactor(html5): remove confusing references to player in a tech (#3790)
These references to player_ are actually not the player due to techs not having a reference to the player.
This commit is contained in:
committed by
Gary Katsevman
parent
c5d1152456
commit
d69551ac80
@ -443,11 +443,11 @@ class Html5 extends Tech {
|
|||||||
if (this.el_.duration === Infinity) {
|
if (this.el_.duration === Infinity) {
|
||||||
this.trigger('durationchange');
|
this.trigger('durationchange');
|
||||||
}
|
}
|
||||||
this.off(this.player_, 'timeupdate', checkProgress);
|
this.off('timeupdate', checkProgress);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.on(this.player_, 'timeupdate', checkProgress);
|
this.on('timeupdate', checkProgress);
|
||||||
return NaN;
|
return NaN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user