Learn how to control video and audio files by a combination of MaKeyMakey and JavaScript. A MaKeyMaKey is a fun way to create an alternative keyboard.
In JavaScript we can detect when a user clicks a key on the keyboard. When that happens you can fire of a function, that will start or stop a video.
Code on Github: https://github.com/asathoor/MakeyMakey-and-JavaScript-YouTube-Tutorial/tree/main