fix: video a11y and valid width attribute
This commit is contained in:
@@ -9,7 +9,9 @@ export default function Video({ src, caption }: VideoProps) {
|
||||
<div className="rounded-lg border border-white/30 bg-white/10 backdrop-blur-sm overflow-hidden shadow-md">
|
||||
<video
|
||||
src={src}
|
||||
width="100%"
|
||||
className="w-full"
|
||||
aria-label={caption ?? src}
|
||||
preload="metadata"
|
||||
controls
|
||||
loop
|
||||
muted
|
||||
|
||||
Reference in New Issue
Block a user