features video examples with special mouse over sound functions. only working for desktop browsers.
https://hackmd.io/-QjBJAM3RNql6xhGVbU4Ww?view
<script>
const videos = document.querySelectorAll("video")
videos.forEach(video => {
video.addEventListener("mouseover", function () {
this.muted = false
})
video.addEventListener("mouseout", function () {
this.muted = true
})
video.addEventListener("touchstart", function () {
this.muted = false
})
video.addEventListener("touchend", function () {
this.muted = true
})
})
</script>