polish widget code

This commit is contained in:
Ren Amamiya
2023-09-29 09:11:38 +07:00
parent cb3c95b133
commit 2f87ed8949
22 changed files with 293 additions and 260 deletions
+3
View File
@@ -17,6 +17,9 @@ export function VideoPreview({ urls }: { urls: string[] }) {
src={`https://thumbnail.video/api/get?url=${url}&seconds=1`}
alt={url}
className="aspect-video h-full w-full bg-white object-cover"
loading="lazy"
decoding="async"
style={{ contentVisibility: 'auto' }}
/>
}
/>