mirror of
https://github.com/Alvin-Zilverstand/Spik-en-span.git
synced 2026-03-06 11:17:09 +01:00
Merge branch 'main' of https://github.com/Alvin-Zilverstand/Spik-en-span
This commit is contained in:
31
index.html
31
index.html
@@ -51,15 +51,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="video-container text-center">
|
<video id="myVideo" autoplay loop class="background-video">
|
||||||
<h1>KAMPIOENEN VAN DE NACH</h1>
|
|
||||||
<video autoplay loop class="background-video">
|
|
||||||
<source src="img/yt1z.net - Spik Span - Kampioene van de nach de11devande11de 2023 (720p) (1).mp4" type="video/mp4">
|
<source src="img/yt1z.net - Spik Span - Kampioene van de nach de11devande11de 2023 (720p) (1).mp4" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
<div class="inhoud">
|
|
||||||
<button onclick="toggleVideo()">⏯ Video pauzeren/afspelen</button>
|
<button onclick="toggleVideo()">⏯
|
||||||
</div>
|
|
||||||
</div>
|
</button>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function toggleVideo() {
|
||||||
|
const video = document.getElementById('myVideo');
|
||||||
|
if (video.paused) {
|
||||||
|
video.play();
|
||||||
|
} else {
|
||||||
|
video.pause();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <div class="container mt-5">
|
<!-- <div class="container mt-5">
|
||||||
|
|||||||
18
style.css
18
style.css
@@ -143,6 +143,20 @@ p {
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 20vh;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.background-video {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 15px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.background-video {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user