Gathering detailed insights and metrics for vue-media-recorder
Gathering detailed insights and metrics for vue-media-recorder
Gathering detailed insights and metrics for vue-media-recorder
Gathering detailed insights and metrics for vue-media-recorder
npm install vue-media-recorder
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
10 Stars
45 Commits
8 Forks
1 Watching
2 Branches
2 Contributors
Updated on 10 Nov 2024
Vue (76.33%)
CSS (12.95%)
JavaScript (6.56%)
HTML (4.16%)
Cumulative downloads
Total Downloads
Last day
-63%
10
Compared to previous day
Last week
-46.1%
97
Compared to previous week
Last month
4.3%
560
Compared to previous month
Last year
-6.9%
10,844
Compared to previous year
vue-media-recorder makes it easy to capture media (Microphone, Camera, Video) in your Vue.js apps.
Use the package manager npm to install vue-media-recorder.
1npm install vue-media-recorder
Using vue-media-recorder is easy:
<template>
<div>
<PhotoCapture v-model="imageBase64" />
<VideoCapture uploadUrl="<example-server-address.com>" v-model="videoUrl" />
</div>
</template>
<script>
import {PhotoCapture, VideoCapture} from 'vue-media-recorder'
export default {
data(){
return {
imageBase64: '',
videoUrl: '',
}
},
components:{
PhotoCapture,
VideoCapture
}
}
</script>
For the VideoCaptrue component to work correctly, pass an uploadUrl prop for your server. Kindly see a sample server here:
VideoCapture Server Configuration
Prop | Value | IsRequired | Example |
---|---|---|---|
uploadUrl | The server url to which the component will upload the video to | true | 'localhost:3000' / 'foo-bar.com' |
recordBtnContent | content for the video record button | false | '⬤' |
stopBtnContent | content for the stop recording button | false | '◼' |
cancelBtnContent | button for clearing the recorderd video content | false | 'ⅹ' |
doneBtnContent | button to confirm video is fine and handling its url | false | '✓' |
Prop | Value | IsRequired | Example |
---|---|---|---|
capturedBtnContent | content for the image capture button | false | '📷' |
cancelBtnContent | button for clearing the captured image content | false | 'ⅹ' |
doneBtnContent | button to confirm image is fine and handling its base64 format | false | '✓' |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More