
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
vue-advanced-screen-recorder
Advanced tools
A Vue component for recording the screen with advanced features
A powerful and flexible screen recording component for Vue 3 applications with TypeScript support.
npm install vue-advanced-screen-recorder
<template>
<VueAdvancedScreenRecorder
:options="{
mimeType: 'video/webm',
videoBitsPerSecond: 2500000,
audioBitsPerSecond: 128000,
frameRate: 30,
audio: true,
buttonLabels: {
start: 'Start Recording',
stop: 'Stop Recording',
pause: 'Pause',
resume: 'Resume',
download: 'Download Recording'
}
}"
@start="onStart"
@stop="onStop"
@pause="onPause"
@resume="onResume"
@error="onError"
/>
</template>
<script setup lang="ts">
import VueAdvancedScreenRecorder from 'vue-advanced-screen-recorder'
const onStart = () => {
console.log('Recording started')
}
const onStop = (blob: Blob) => {
console.log('Recording stopped', blob)
}
const onPause = () => {
console.log('Recording paused')
}
const onResume = () => {
console.log('Recording resumed')
}
const onError = (error: Error) => {
console.error('Recording error:', error)
}
</script>
<template>
<VueAdvancedScreenRecorder>
<!-- Custom controls -->
<template #controls="{ isRecording, isPaused, startRecording, stopRecording, pauseRecording, resumeRecording }">
<div class="my-custom-controls">
<button @click="startRecording" :disabled="isRecording">
{{ isRecording ? 'Recording...' : 'Start' }}
</button>
<!-- Add other custom controls -->
</div>
</template>
<!-- Custom actions for recorded video -->
<template #actions="{ downloadRecording, recordedBlob, recordedUrl }">
<div class="my-custom-actions">
<button @click="downloadRecording">Save Recording</button>
<button @click="customHandleVideo(recordedBlob)">Process Video</button>
</div>
</template>
<!-- Custom recording status -->
<template #status="{ isRecording, duration, formattedDuration }">
<div class="my-custom-status">
Recording time: {{ formattedDuration }}
</div>
</template>
</VueAdvancedScreenRecorder>
</template>
Object
{
mimeType: 'video/webm',
videoBitsPerSecond: 2500000,
audioBitsPerSecond: 128000,
frameRate: 30,
audio: true,
buttonLabels: {
start: 'Start Recording',
stop: 'Stop Recording',
pause: 'Pause',
resume: 'Resume',
download: 'Download Recording'
}
}
Slot for custom control buttons with the following props:
isRecording
: booleanisPaused
: booleanstartRecording
: () => PromisestopRecording
: () => voidpauseRecording
: () => voidresumeRecording
: () => voidSlot for custom actions after recording with the following props:
downloadRecording
: () => voidrecordedBlob
: Blob | nullrecordedUrl
: string | nullSlot for custom recording status with the following props:
isRecording
: booleanduration
: numberformattedDuration
: stringstart
: Emitted when recording startsstop
: Emitted when recording stops, includes the recorded blobpause
: Emitted when recording is pausedresume
: Emitted when recording is resumederror
: Emitted when an error occurs, includes the error objectMIT
FAQs
A Vue component for recording the screen with advanced features
We found that vue-advanced-screen-recorder demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.