Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
music-visualization-canvas
Advanced tools
自己娱乐的作品, 由某音乐 MV 引发的灵感, 自用于一些彩蛋
https://mengxiong10.github.io/music-visualization-canvas/
$ npm install music-visualization-canvas --save
import MusicVisualization from 'music-visualization-canvas';
const mv = new MusicVisualization({
src: 'https://music.mp3',
audioEvents: {
playing: () => {},
pause: () => {},
canplay: () => {},
error: () => {}
}
});
// 暂停
mv.stop();
// 播放
mv.start();
Key | 描述 | 默认值 |
---|---|---|
src | 音频的 url | - |
el | canvas 插入的 DOM 元素 | document.body |
audioEvents | audio 对象上注册的事件 | - |
方法 | 描述 |
---|---|
start | 开始播放 |
stop | 暂停 |
destroy | 销毁 |
FAQs
music visualization
The npm package music-visualization-canvas receives a total of 6 weekly downloads. As such, music-visualization-canvas popularity was classified as not popular.
We found that music-visualization-canvas 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.