Video loop

For some reason I cant get this video to loop. What im I missing? HTML
<video muted autoplay loop class="video">
<source src="/video/video.mp4" type="video/mp4">
</video>
<video muted autoplay loop class="video">
<source src="/video/video.mp4" type="video/mp4">
</video>
CSS
.video{
position: absolute;
z-index: -1;
height: 100vh;
width: 100vw;
object-fit: cover;
}
.video{
position: absolute;
z-index: -1;
height: 100vh;
width: 100vw;
object-fit: cover;
}
Thanks in advance 🙂
4 Replies
MarkBoots
MarkBoots•3y ago
it tried your code, and it does loop as expected. looks correct can you check what you see if you right click the video. you should see "loop" checked
Gv3-Flyver
Gv3-Flyver•3y ago
@MarkBoots Whats for looking.. maybe its my browser, because it stops on my end 😂
MarkBoots
MarkBoots•3y ago
did you try different browser to see? chrome, edge, firefox
Gv3-Flyver
Gv3-Flyver•3y ago
No.. only Chrome. Will try later when I get home 🙂
Want results from more Discord servers?
Add your server