
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
media-woofer
Advanced tools
<media-woofer>Kick up the bass of your media element! :sound:
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.
Becuz why not? ÂŻ\_(ă)_/ÂŻ
<html>
<head>
<script type="module" src="https://unpkg.com/media-woofer"></script>
</head>
<body>
<video src="https://woofer.media/site/videos/pony-sample.mp4" controls></video>
<media-woofer></media-woofer>
</body>
</html>
<media-woofer> is packaged as a javascript module (es6) only, which is supported by all evergreen browsers and Node v12+.
<script>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.
<head>
<script type="module" src="https://unpkg.com/media-woofer"></script>
</head>
npmnpm install media-woofer --save
Or yarn
yarn add media-woofer
Include in your app javascript (e.g. src/App.js)
import 'media-woofer';
This will register the custom elements with the browser so they can be used as HTML.
FAQs
Kick up the bass on your media element.
We found that media-woofer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookieâs npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.