
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
vue3-audio-player
Advanced tools
This is a beautiful Audio Player Component for Vue3.
npm i vue3-audio-player
In your *.vue
, you shall import the libraries and CSS:
import AudioPlayer from 'vue3-audio-player'
import 'vue3-audio-player/dist/style.css'
In your template
:
<template>
<AudioPlayer
:option="{
src: 'https://your-audio-file.mp3',
title: 'your-audio-title',
coverImage: 'https://your-cover-image.png',
}"
/>
</template>
Here are some option
s about AudioPlayer
:
AudioPlayerOption {
src: string //audio source
title?: string //audio title (optional, default: '')
coverImage?: string //cover image (optional, default: '')
coverRotate?: boolean //cover rotate when playing (optional, default: true)
progressBarColor?: string //progress bar color (optional, default: '#3C91F4')
indicatorColor?: string //indicator color (optional, default: '#3C91F4')
}
Here are some event
s about AudioPlayer
:
'loadedmetadata'
'playing'
'play'
'play-error'
'timeupdate'
'pause'
'ended'
'progress-start'
'progress-end'
'progress-move'
'progress-click'
Here are some method
s about AudioPlayer
:
play() // play the audio
pause() // pause the audio
Here are some property
s about AudioPlayer
:
totalTime // total time of the audio (seconds)
currentTime // current time of the audio (seconds)
isPlaying // boolean
Here are some slot
s about AudioPlayer
:
title
FAQs
A beautiful Audio Player Component for Vue3
The npm package vue3-audio-player receives a total of 275 weekly downloads. As such, vue3-audio-player popularity was classified as not popular.
We found that vue3-audio-player 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.