Installations
npm install vue-media-recorder
Releases
Unable to fetch releases
Developer
YovelBecker
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
10.15.2
NPM Version
6.13.1
Statistics
10 Stars
45 Commits
8 Forks
1 Watching
2 Branches
2 Contributors
Updated on 10 Nov 2024
Languages
Vue (76.33%)
CSS (12.95%)
JavaScript (6.56%)
HTML (4.16%)
Total Downloads
Cumulative downloads
Total Downloads
46,441
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
vue-media-recorder
vue-media-recorder makes it easy to capture media (Microphone, Camera, Video) in your Vue.js apps.
Installation
Use the package manager npm to install vue-media-recorder.
1npm install vue-media-recorder
Usage
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>
VideoCapture Component Usage
For the VideoCaptrue component to work correctly, pass an uploadUrl prop for your server. Kindly see a sample server here:
VideoCapture Server Configuration
VideoCapture Component Props
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 | '✓' |
PhotoCapture Component Props
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 | '✓' |
Contributing
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.
License
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
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
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