mirror of
https://github.com/videojs/video.js.git
synced 2025-01-04 06:48:49 +02:00
fix: add inactivityTimeout to reset cache method (#5788)
This commit is contained in:
parent
65beb5a79c
commit
a72d861a95
@ -2066,6 +2066,7 @@ class Player extends Component {
|
||||
// we set it to zero here to ensure that if we do start actually caching
|
||||
// it, we reset it along with everything else.
|
||||
currentTime: 0,
|
||||
inactivityTimeout: this.options_.inactivityTimeout,
|
||||
duration: NaN,
|
||||
lastVolume: 1,
|
||||
lastPlaybackRate: this.defaultPlaybackRate(),
|
||||
|
Loading…
Reference in New Issue
Block a user