-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
56 lines (48 loc) · 1.2 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.video-section {
display: flex;
max-width: 800px; /* Adjust the maximum width as needed */
}
.description-column {
flex: 1; /* Take up available space */
padding: 20px;
background-color: #f0f0f0; /* Add a background color for clarity */
}
.video-column {
flex: 1; /* Take up available space */
padding: 20px;
}
video {
width: 100%; /* Make the video fill its container */
height: auto; /* Maintain the aspect ratio */
}
</style>
</head>
<body>
<section class="video-section">
<div class="description-column">
<h2>Movie 1</h2>
<p>Description 1</p>
</div>
<div class="video-column">
<!-- Replace 'your-video-source.mp4' with the actual video source -->
<video controls>
<source src="your-video-source.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</section>
</body>
</html>