-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVID04A.html
More file actions
44 lines (38 loc) · 1.48 KB
/
VID04A.html
File metadata and controls
44 lines (38 loc) · 1.48 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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="img/Logo.png" type="image/png">
<link rel="stylesheet" href="main2.css">
<title>홈-환자 목록</title>
</head>
<body class="scroll-enabled">
<!-- 백그라운드 비디오 -->
<video class="background-video" autoplay muted loop>
<source src="img/precali.mp4" type="video/mp4">
브라우저가 비디오를 지원하지 않습니다.
</video>
<div class="content">
<div class="device-background">
<!-- 여기에 추가 콘텐츠를 넣을 수 있습니다 -->
</div>
</div>
<!-- 우측 하단 조정 시작 버튼 -->
<button class="adjust-button" id="adjustButton">조정 시작</button>
<script>
// 5초 후에 버튼이 나타나도록 설정
setTimeout(function() {
const adjustButton = document.getElementById('adjustButton');
adjustButton.classList.add('visible');
}, 5000);
// 비디오 자동 재생 및 루프 설정
document.addEventListener('DOMContentLoaded', function() {
const video = document.querySelector('.background-video');
video.play().catch(function(error) {
console.log('비디오 자동 재생이 차단되었습니다:', error);
});
});
</script>
</body>
</html>