VideoLoop
VideoLoop viser en video i loop, som en "GIF".
<VideoLoop className="aspect-w-16 aspect-h-9" src="https://res.cloudinary.com/obosit-prd-ch-clry/video/upload/v1732199756/Mellom%20husene/Frysja_Loop2.mp4" format="mp4" alt="En postbil kjører rundt i det moderne nabolaget på Frysja. Her finnes det fine uteområder, med husker og kafeer." />
Props
VideoLoop
Prop | Description | Default |
---|---|---|
src | The video url | - |
format | The video format | - |
alt? | The content of the video must have a text description, so that it is accessible to screen readers. You can either just provide a just caption, just an alt text, or both a caption and an alt text. Make sure the alt text doesn't repeat too much of the caption text, if so just a caption is sufficent. Think of this just as an alt text, but for a muted video - this text will not be visible, but read by screen readers. | - |
className? | - |