Horje
how to add video in background in html Code Example
how to add video in background in html
How to create a full screen video background.
source: w3schools.com

<!-- The video -->
<video autoplay muted loop id="myVideo">
  <source src="backgroundVideo.mp4" type="video/mp4">
</video>

<!-- Optional: some overlay text to describe the video -->
<div class="content">
  <h1>Heading</h1>
  <p>Lorem ipsum...</p>
  <!-- Use a button to pause/play the video with JavaScript -->
  <button id="myBtn" onclick="myFunction()">Pause</button>
</div>




Html

Related
markdown image by address Code Example markdown image by address Code Example
aligning image to middle in html Code Example aligning image to middle in html Code Example
html set character encoding Code Example html set character encoding Code Example
how to set background image for web page in html local image Code Example how to set background image for web page in html local image Code Example
index.html favicon.ico 404 (Not Found) Code Example index.html favicon.ico 404 (Not Found) Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10