🤞
This commit is contained in:
		
							parent
							
								
									2292c42742
								
							
						
					
					
						commit
						a61da5e486
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -34,12 +34,8 @@ const props = defineProps<{ | ||||||
| 	video: misskey.entities.DriveFile; | 	video: misskey.entities.DriveFile; | ||||||
| }>(); | }>(); | ||||||
| 
 | 
 | ||||||
| const videoEl = $ref<HTMLVideoElement | null>(); |  | ||||||
| 
 |  | ||||||
| onMounted(() => { | onMounted(() => { | ||||||
| 	if (videoEl) { |  | ||||||
| 	new Vlitejs('#player'); | 	new Vlitejs('#player'); | ||||||
| 	} |  | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| const hide = ref((defaultStore.state.nsfw === 'force') ? true : props.video.isSensitive && (defaultStore.state.nsfw !== 'ignore')); | const hide = ref((defaultStore.state.nsfw === 'force') ? true : props.video.isSensitive && (defaultStore.state.nsfw !== 'ignore')); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue