-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
129 lines (125 loc) · 3.69 KB
/
index.html
File metadata and controls
129 lines (125 loc) · 3.69 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Project Videos</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
header {
text-align: center;
margin-bottom: 40px;
}
h1 {
color: #333;
}
.video-container {
display: flex;
flex-direction: column;
gap: 50px;
margin-bottom: 40px;
}
.video-item {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
width: 100%;
}
.video-item:hover {
transform: translateY(-5px);
}
.video-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
}
.video-wrapper video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
}
.video-info {
padding: 20px;
}
.video-title {
font-size: 22px;
margin-bottom: 10px;
color: #333;
}
footer {
text-align: center;
padding: 20px 0;
color: #666;
border-top: 1px solid #ddd;
}
/* Add fallback content styles */
.fallback-message {
text-align: center;
padding: 20px;
background-color: #fff3cd;
border: 1px solid #ffeeba;
border-radius: 4px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<header>
<h1>Project 3 Videos</h1>
<p>Scroll down to view all videos</p>
</header>
<div class="video-container">
<!-- Video Item 1 -->
<div class="video-item">
<div class="video-info">
<h3 class="video-title">Project3Part2</h3>
</div>
<div class="video-wrapper">
<video controls preload="metadata" poster="videos/poster-part2.jpg">
<source src="videos/Project3Part2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</div>
<!-- Video Item 2 -->
<div class="video-item">
<div class="video-info">
<h3 class="video-title">Project3Part3</h3>
</div>
<div class="video-wrapper">
<video controls preload="metadata" poster="videos/poster-part3.jpg">
<source src="videos/Project3Part3.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</div>
<!-- Video Item 3 -->
<div class="video-item">
<div class="video-info">
<h3 class="video-title">Project3Part4</h3>
</div>
<div class="video-wrapper">
<video controls preload="metadata" poster="videos/poster-part4.jpg">
<source src="videos/Project3Part4.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</div>
</div>
<footer>
<p>© 2025 My GitHub Project</p>
</footer>
</body>
</html>