Kick up the bass on your media element.
npm install media-wooferKick up the bass of your media element! :sound:
Put this tag in the page with your or 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.
Becuz why not? ¯\_(ツ)_/¯
``html
`
is packaged as a javascript module (es6) only, which is supported by all evergreen browsers and Node v12+.
Note the type="module", that's important.
> Modules are always loaded asynchronously by the browser, so it's ok to load them in the head :thumbsup:, and best for registering web components quickly.
`html`
`bash`
npm install media-woofer --save`
Or yarnbash`
yarn add media-woofer
Include in your app javascript (e.g. src/App.js)
`js``
import 'media-woofer';
This will register the custom elements with the browser so they can be used as HTML.