mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add syuff
This commit is contained in:
		
							parent
							
								
									4c2001ceee
								
							
						
					
					
						commit
						5bf3da0dc0
					
				| @ -3,7 +3,6 @@ document.addEventListener("DOMContentLoaded", () => { | ||||
|         controls: true, | ||||
|         autoplay: false, | ||||
|         preload: 'auto', | ||||
| 
 | ||||
|     }); | ||||
| 
 | ||||
|     const qua = new URLSearchParams(window.location.search).get("quality") || ""; | ||||
| @ -64,6 +63,7 @@ document.addEventListener("DOMContentLoaded", () => { | ||||
|                 audio.play(); | ||||
|             } else { | ||||
|                 video.pause(); | ||||
|                 audio.pause(); | ||||
|             } | ||||
|         }); | ||||
| 
 | ||||
| @ -71,7 +71,17 @@ document.addEventListener("DOMContentLoaded", () => { | ||||
|             audio.pause(); | ||||
|         }); | ||||
| 
 | ||||
|         video.on('waiting', () => { | ||||
|             video.pause(); | ||||
|             audio.pause(); | ||||
|         }); | ||||
| 
 | ||||
|         video.on('canplaythrough', () => { | ||||
|             if (!video.paused()) { | ||||
|                 video.play(); | ||||
|                 audio.play(); | ||||
|             } | ||||
|         }); | ||||
| 
 | ||||
|         video.on('seeking', handleSeek); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley