generated from savvy-coders/savvy-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (47 loc) · 1.51 KB
/
index.html
File metadata and controls
54 lines (47 loc) · 1.51 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
<!--
Cinemetrics — index.html
Purpose: Single-page app entry HTML. Loads styles and the client bundle.
Notes: Contains a modal used by trailer embeds AND the Cinemetrics intro teaser MP4.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cinemetrics</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"
/>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
</head>
<body>
<div id="root"></div>
<!-- Reusable modal for BOTH: intro MP4 (video) + trailers (iframe) -->
<div id="trailerModal" class="trailer-modal hidden">
<div class="trailer-content" role="dialog" aria-modal="true" aria-label="Video modal">
<button class="close-modal" type="button" aria-label="Close video">×</button>
<!-- Intro MP4 (teaser) -->
<video
id="introVideo"
class="hidden"
controls
preload="metadata"
playsinline
></video>
<!-- Trailer embed (YouTube / etc.) -->
<iframe
id="trailerFrame"
class="hidden"
width="900"
height="500"
frameborder="0"
allow="autoplay; encrypted-media"
allowfullscreen
></iframe>
</div>
</div>
<script type="module" src="./index.js"></script>
</body>
</html>