Spaces:
Running
Running
Update index.html
Browse files- index.html +27 -17
index.html
CHANGED
|
@@ -1,19 +1,29 @@
|
|
| 1 |
<!doctype html>
|
| 2 |
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!doctype html>
|
| 2 |
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
| 6 |
+
<title>Demo</title>
|
| 7 |
+
<style>
|
| 8 |
+
html, body { height: 100%; margin: 0; background: #0b0b0b; }
|
| 9 |
+
.wrap { height: 100%; display: grid; place-items: center; }
|
| 10 |
+
video { max-width: 100%; max-height: 100vh; outline: none; }
|
| 11 |
+
h1 { position: absolute; top: 12px; left: 16px; margin: 0; font: 600 16px/1.2 system-ui, sans-serif; color: #cfcfcf; opacity: .7; }
|
| 12 |
+
</style>
|
| 13 |
+
</head>
|
| 14 |
+
<body>
|
| 15 |
+
<h1>Demo</h1>
|
| 16 |
+
<div class="wrap">
|
| 17 |
+
<video
|
| 18 |
+
src="demo.mp4"
|
| 19 |
+
autoplay
|
| 20 |
+
muted
|
| 21 |
+
loop
|
| 22 |
+
playsinline
|
| 23 |
+
controls
|
| 24 |
+
preload="metadata">
|
| 25 |
+
Your browser does not support the video tag.
|
| 26 |
+
</video>
|
| 27 |
+
</div>
|
| 28 |
+
</body>
|
| 29 |
+
</html>
|