mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add window.pokeplayer object :3
This commit is contained in:
		
							parent
							
								
									1a6accc21b
								
							
						
					
					
						commit
						102ba2b9be
					
				| @ -12,7 +12,6 @@ document.addEventListener("DOMContentLoaded", () => { | ||||
|     if (qua !== "medium") { | ||||
|         const audio = document.getElementById('aud'); | ||||
| 
 | ||||
|         // Sync volume between audio and video
 | ||||
|         const syncVolume = () => { | ||||
|             audio.volume = video.volume(); | ||||
|         }; | ||||
| @ -103,4 +102,14 @@ document.addEventListener("DOMContentLoaded", () => { | ||||
|             } | ||||
|         }); | ||||
|     } | ||||
| }); | ||||
| }); | ||||
| 
 | ||||
| window.pokePlayer = { | ||||
|     ver:`16-vjs-${videojs.VERSION}`, | ||||
|     canHasAmbientMode:true, | ||||
|     video:new URLSearchParams(window.location.search).get('v'), | ||||
|     supported_itag_list:["136", "140", "298", "18"], | ||||
|     formats:["SD", "HD"], | ||||
| } | ||||
| 
 | ||||
| var _yt_player= videojs; | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley