Skip to content

Commit 408f64e

Browse files
committed
Play videos only on hover
1 parent a685885 commit 408f64e

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

index.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
I am a computer scientist with a background in human-centric 3D Computer Vision.
2626
I previously worked as a tech lead in the executive team of the <a href="https://ai.ethz.ch/">ETH AI Center</a> and as postdoc at the <a href="https://ait.ethz.ch/">AIT Lab</a> at ETH Zurich, Department of Computer Science.
2727
I obtained my PhD in the AIT Lab under superivsion of <a href="https://ait.ethz.ch/people/hilliges/">Prof. Otmar Hilliges</a>, co-advised by <a href="https://cgl.ethz.ch/people/grossm/">Prof. Markus Gross</a>.
28-
I have completed my MSc at ETH Zurich with Prof. Hilliges as well and earned my BSc in Computer Science from the University of Basel under the supervision of <a href="https://scholar.google.com/citations?user=HKLgZpYAAAAJ&hl=de">Prof. Thomas Vetter</a>.
28+
I have completed my MSc at ETH Zurich in the AIT lab and earned my BSc in Computer Science from the University of Basel under the supervision of <a href="https://scholar.google.com/citations?user=HKLgZpYAAAAJ&hl=de">Prof. Thomas Vetter</a>.
2929
</p>
3030
<p class="justified">
3131
I taught <a href="https://ait.ethz.ch/teaching/courses/2025-ss-machine-perception">Machine Perception</a> at ETH Zurich. All lecture materials including video recordings from 2025 are publicly available.
@@ -125,7 +125,7 @@ <h2>Research</h2>
125125
<!-- ODHSR -->
126126
<tr>
127127
<td style="padding:16px;width:25%;vertical-align:middle">
128-
<video width="160" autoplay loop muted playsinline>
128+
<video width="160" loop muted playsinline>
129129
<source src="images/odhsr.mp4" type="video/mp4">
130130
</video>
131131
</td>
@@ -185,7 +185,7 @@ <h2>Research</h2>
185185
<!-- ReLoo -->
186186
<tr>
187187
<td style="padding:16px;width:25%;vertical-align:middle">
188-
<video width="160" autoplay loop muted playsinline>
188+
<video width="160" loop muted playsinline>
189189
<source src="images/reloo.mp4" type="video/mp4">
190190
</video>
191191
</td>
@@ -218,7 +218,7 @@ <h2>Research</h2>
218218
<!-- WorldPose -->
219219
<tr>
220220
<td style="padding:16px;width:25%;vertical-align:middle">
221-
<video width="160" autoplay loop muted playsinline>
221+
<video width="160" loop muted playsinline>
222222
<source src="images/worldpose.mp4" type="video/mp4">
223223
</video>
224224
</td>
@@ -254,7 +254,7 @@ <h2>Research</h2>
254254
<!-- HSR -->
255255
<tr>
256256
<td style="padding:16px;width:25%;vertical-align:middle">
257-
<video width="160" autoplay loop muted playsinline>
257+
<video width="160" loop muted playsinline>
258258
<source src="images/hsr.mp4" type="video/mp4">
259259
</video>
260260
</td>
@@ -289,7 +289,7 @@ <h2>Research</h2>
289289
<!-- MultiPly -->
290290
<tr>
291291
<td style="padding:16px;width:25%;vertical-align:middle">
292-
<video width="160" autoplay loop muted playsinline>
292+
<video width="160" loop muted playsinline>
293293
<source src="images/multiply.mp4" type="video/mp4">
294294
</video>
295295
</td>
@@ -641,5 +641,13 @@ <h2>Academic Service</h2>
641641
</td>
642642
</tr>
643643
</tbody></table>
644+
<script>
645+
document.querySelectorAll('tr').forEach(function(row) {
646+
var video = row.querySelector('video');
647+
if (!video) return;
648+
row.addEventListener('mouseenter', function() { video.play(); });
649+
row.addEventListener('mouseleave', function() { video.pause(); video.currentTime = 0; });
650+
});
651+
</script>
644652
</body>
645653
</html>

stylesheet.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
}
6565

6666
a {
67-
color: #c0587a;
67+
color: #8a7a3a;
6868
text-decoration: none;
6969
}
7070

0 commit comments

Comments
 (0)