Built by @heff & Mux for ¯\_(ツ)_/¯
Put this tag in the page with your <video>
or <audio>
tag and it will shake the element along with the bass (using the Web Audio API and CSShake), and also vibrate mobile phones (currently Android only) using the Vibration API.
<script type="module" src="https://unpkg.com/media-woofer"></script>
<video src="https://woofer.media/site/videos/pony-sample.mp4" controls playsinline></video>
<media-woofer></media-woofer>
See Github Repo for more info.