mirror of
				https://github.com/videojs/video.js.git
				synced 2025-10-31 00:08:01 +02:00 
			
		
		
		
	fix: add inactivityTimeout to reset cache method (#5788)
This commit is contained in:
		
				
					committed by
					
						 Gary Katsevman
						Gary Katsevman
					
				
			
			
				
	
			
			
			
						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(), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user