Hello friends . i am back with my new source code .
here is a source code for "how to put a video in website"
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
video#bgVideo {
position: fixed;
right: 0;
bottom: 0;
width: auto;
min-width: 100%;
height: auto;
min-height: 100%;
z-index: -100;
background-size: cover;
}
</style>
</head>
<body>
<video width="320" height="240" controls>
<source src="TAEYEON 태연_Why_Music Video.mp4" type="video/mp4">
<source src="TAEYEON 태연_Why_Music Video.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
here is a source code for "how to put a video in website"
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
video#bgVideo {
position: fixed;
right: 0;
bottom: 0;
width: auto;
min-width: 100%;
height: auto;
min-height: 100%;
z-index: -100;
background-size: cover;
}
</style>
</head>
<body>
<video width="320" height="240" controls>
<source src="TAEYEON 태연_Why_Music Video.mp4" type="video/mp4">
<source src="TAEYEON 태연_Why_Music Video.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
Tags:
html/css