mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add videojs-plugin-hotkeys.js
This commit is contained in:
		
							parent
							
								
									0a415383a9
								
							
						
					
					
						commit
						430d27d303
					
				| @ -383,7 +383,10 @@ a[data-onclick="jump_to_time"] { | ||||
|   <link href="/css/watch-util.css?v=9893448" rel=stylesheet> | ||||
|   <link href="/css/watch-navbar.css?v=9893448" rel=stylesheet> | ||||
|   <link href="/css/poketube.css?v=948934774844" rel=stylesheet> | ||||
| 
 | ||||
|   <!-- video.js --> | ||||
|   <link href="/css/videojs-v8.16.0.css" rel="stylesheet" /> | ||||
|   <script src="/static/videojs-plugin-hotkeys.js"></script> | ||||
|   <script src="/static/vjs.min.js"></script> | ||||
| 
 | ||||
|   <!-- css files end --> | ||||
| @ -621,7 +624,15 @@ background-color: #0000; | ||||
|             const video = videojs('video', { | ||||
|                 controls: true, | ||||
|                 autoplay: false, | ||||
|                 preload: 'auto' | ||||
|                 preload: 'auto', | ||||
|                   plugins: { | ||||
|             hotkeys: { | ||||
|       volumeStep: 0.1, | ||||
|       seekStep: 5, | ||||
|       enableModifiersForNumbers: false | ||||
|     }, | ||||
|   }, | ||||
| 
 | ||||
|             }); | ||||
| 
 | ||||
|             const qua = new URLSearchParams(window.location.search).get("quality") || ""; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley