Update index.html
Browse files- index.html +33 -18
index.html
CHANGED
@@ -1,19 +1,34 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8" />
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
+
<title>LeRobot Demo Gallery</title>
|
7 |
+
<link rel="stylesheet" href="style.css" />
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<div class="container">
|
11 |
+
<h1>🤖 LeRobot Hackathon Demos</h1>
|
12 |
+
|
13 |
+
<select id="teamSelect">
|
14 |
+
<option value="https://huggingface.co/datasets/LeRobot-worldwide-hackathon/submissions/resolve/main/videos/demo1.mp4">Team Alpha - Project X</option>
|
15 |
+
<option value="https://huggingface.co/datasets/LeRobot-worldwide-hackathon/submissions/resolve/main/videos/demo2.mp4">Team Beta - Project Y</option>
|
16 |
+
<!-- Add more options as needed -->
|
17 |
+
</select>
|
18 |
+
|
19 |
+
<video id="videoPlayer" width="720" height="400" controls autoplay muted playsinline>
|
20 |
+
<source src="https://huggingface.co/datasets/LeRobot-worldwide-hackathon/submissions/resolve/main/videos/demo1.mp4" type="video/mp4" />
|
21 |
+
Your browser does not support the video tag.
|
22 |
+
</video>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
<script>
|
26 |
+
const player = document.getElementById("videoPlayer");
|
27 |
+
const select = document.getElementById("teamSelect");
|
28 |
+
select.addEventListener("change", () => {
|
29 |
+
player.src = select.value;
|
30 |
+
player.play();
|
31 |
+
});
|
32 |
+
</script>
|
33 |
+
</body>
|
34 |
</html>
|