Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
vue-record-audio
Advanced tools
Paquete para la grabacion de contenido con el microfono por defecto del navegador
Paquete para la grabacion de contenido con el microfono por defecto del navegador
Instalacion del paquete
npm i vue-record-audio
<template>
<div>
<RecordsAudio :saveRecord="saveRecord" :iconsRecord="iconsRecord">
<!-- control de grabador -->
<template #btnCancelRecord="{ControllerRecord}">
<button class="btn btn-sm btn-transparent" @click="ControllerRecord.cancelRecord">
<IconClose/>
</button>
</template>
<template #btnRecord="{ControllerRecord}">
<button class="btn btn-primary" @click="ControllerRecord.playAudio">
<IconMic v-if="!ControllerRecord.record"/>
<IconPause color="#ffffff" v-else-if="!ControllerRecord.pause" />
<IconPlay color="#ffffff" v-else/>
</button>
</template>
<template #btnStopRecord="{ControllerRecord}">
<button class="btn btn-sm btn-transparent" @click="ControllerRecord.stopRecord">
<IconStop/>
</button>
</template>
<!-- control de player -->
<template #btnPlayerCancel="{ControllerPlayer}">
<button class="btn btn-sm btn-transparent" @click="ControllerPlayer.cancelPlay">
<IconClose/>
</button>
</template>
<template #btnPlayer="{ControllerPlayer}">
<button class="btn btn-primary" @click="ControllerPlayer.playRecord">
<IconPause color="#ffffff" v-if="ControllerPlayer.play"/>
<IconPlay color="#ffffff" v-else-if="ControllerPlayer.pause" />
<IconPlay color="#ffffff" v-else/>
</button>
</template>
<template #btnPlayerStop="{ControllerPlayer}">
<button class="btn btn-sm btn-transparent" @click="ControllerPlayer.stopPlay">
<IconStop/>
</button>
</template>
</RecordsAudio>
</div>
</template>
<script setup lang="ts">
import { RecordsAudio,IconClose,IconStop,IconMic,IconPlay,IconPause,IconDeVol,IconInVol } from "vue-record-audio"
const saveRecord = (data:any) => {
console.log(data)
}
</script>
<style>
@import url(/node_modules/vue-record-audio/dist/style.css);
</style>
<template>
<div>
<RecordAudio :playAudioBase64="playAudioBase64" :justPlay="true">
<template #btnPlayerCancel="{ControllerPlayer}">
<button class="btn btn-sm btn-transparent" @click="ControllerPlayer.cancelPlay">
<IconClose/>
</button>
</template>
<template #btnPlayer="{ControllerPlayer}">
<button class="btn btn-primary" @click="ControllerPlayer.playRecord">
<IconPause color="#ffffff" v-if="ControllerPlayer.play"/>
<IconPlay color="#ffffff" v-else-if="ControllerPlayer.pause" />
<IconPlay color="#ffffff" v-else/>
</button>
</template>
<template #btnPlayerStop="{ControllerPlayer}">
<button class="btn btn-sm btn-transparent" @click="ControllerPlayer.stopPlay">
<IconStop/>
</button>
</template>
</RecordAudio>
</div>
</template>
<script setup lang="ts">
import { RecordsAudio,IconClose,IconStop,IconMic,IconPlay,IconPause,IconDeVol,IconInVol} from "vue-record-audio"
const playAudioBase64:"//vUxAADwAABpAAAAC...."
</script>
<style>
@import url(/node_modules/vue-record-audio/dist/style.css);
</style>
FAQs
Paquete para la grabacion de contenido con el microfono por defecto del navegador
The npm package vue-record-audio receives a total of 84 weekly downloads. As such, vue-record-audio popularity was classified as not popular.
We found that vue-record-audio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.