mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	Update html/poketube.ejs
This commit is contained in:
		
							parent
							
								
									79b209fabe
								
							
						
					
					
						commit
						93243ed7db
					
				| @ -633,8 +633,7 @@ background-color: #0000; | ||||
| 
 | ||||
| 
 | ||||
|  document.addEventListener('keydown', function(event) { | ||||
|   const video = document.querySelector('video'); // Adjust if you have a different way to reference your video element | ||||
| 
 | ||||
|   if (document.activeElement === video) { | ||||
|   // Toggle play/pause with the Spacebar | ||||
|   if (event.code === 'Space') { | ||||
|     event.preventDefault(); // Prevent default action, like activating buttons | ||||
| @ -669,7 +668,7 @@ background-color: #0000; | ||||
|     video.currentTime = time; | ||||
|   } | ||||
| }); | ||||
| 
 | ||||
|             } | ||||
|                 const audio = document.getElementById('aud'); | ||||
| 
 | ||||
|                 // Sync volume between audio and video | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley