
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
browser-audio-caster
Advanced tools
浏览器播报音频工具函数
npm i browser-audio-caster
import play from 'browser-audio-caster'
play({
src,
speed,
muted,
waiting,
startTime,
autoPlay,
onCanplay,
onEnd,
onPlay,
onError,
onTimeUpdate
})
参数名 | 说明 | 默认值 |
---|---|---|
src | mp3 地址 | - |
speed | 播报速度 | 1 |
muted | 是否静音 | false |
startTime | 开始时间 | 0 |
waiting | 延迟播报时间 | 0 |
autoPlay | 是否直接播报, 设为 false 需要使用返回值调用 play() | true |
onCanplay | on canplay | - |
onEnd | on end | - |
onPlay | on play | - |
onError | on error | - |
onTimeUpdate | on update | - |
FAQs
> 浏览器播报音频工具函数
The npm package browser-audio-caster receives a total of 2 weekly downloads. As such, browser-audio-caster popularity was classified as not popular.
We found that browser-audio-caster 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.