
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Play sound from JavaScript with HTML5 audio tag backend.
Import plugin: ommr.js.
var audio = new Ommr();
audio.init({
'sounds': {
'track_alias': {
'file': 'track_fileName',
'type': 'ogg'
},
'soundA': {
'file': 'A_fileName',
'volume': 1,
'preload': false
},
'soundB': {
'file': 'B_fileName',
'loop': false
}
},
'path': 'path/',
'volume': 0.7,
'autoplay': true,
'preload': true,
'multiplay': true,
'callbacks': {
// play, stop ...
}
});
audio.play('soundA');
audio.play('soundA', 'ogg');
audio.play(); // the last played track
audio.pause('soundA');
audio.pause(); // the last played track
audio.stop('soundA');
audio.stop(); // the last played track
audio.setSoundVolume('soundA', 0.5);
audio.setSoundVolume(0.5); // change the last played track's volume to 0.5
setVolume
This method will influence all tracks, including those tracks were changed by setSoundVolume
.
status
getTrackList
MIT
FAQs
Play sound from JavaScript with HTML5 audio tag backend.
The npm package ommr receives a total of 5 weekly downloads. As such, ommr popularity was classified as not popular.
We found that ommr 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.