Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yingpengsha/use-screen-recorder-composition
📹 Vue Composition API for easily recording screen using MediaStream APIs.
https://github.com/yingpengsha/use-screen-recorder-composition
composition-api mediastream recorder screenrecorder vue vuejs
Last synced: about 2 months ago
JSON representation
📹 Vue Composition API for easily recording screen using MediaStream APIs.
- Host: GitHub
- URL: https://github.com/yingpengsha/use-screen-recorder-composition
- Owner: yingpengsha
- License: mit
- Created: 2022-01-14T09:41:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T11:09:35.000Z (almost 3 years ago)
- Last Synced: 2024-10-30T06:58:18.312Z (about 2 months ago)
- Topics: composition-api, mediastream, recorder, screenrecorder, vue, vuejs
- Language: TypeScript
- Homepage: https://use-screen-recorder-composition.vercel.app
- Size: 217 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# use-screen-recorder-composition
> Vue Composition API for easily recording screen using MediaStream APIs.
## Install
### Vue3.0
```bash
npm install use-screen-recorder-composition
```### Vue2.0
```bash
npm install @vue/composition-api use-screen-recorder-composition
```## Usage
### Vue3.0
```vue
import useScreenRecorder from "use-screen-recorder-composition";
const screenRecorder = useScreenRecorder();```
### Vue2.0
```vue
import { defineComponent } from '@vue/composition-api'
import useScreenRecorder from 'use-screen-recorder-composition'export default defineComponent({
setup() {
return {
screenRecorder: useScreenRecorder()
}
}
})```
## Thanks
This project is heavily inspired by [use-screen-recorder](https://github.com/ishan-chhabra/use-screen-recorder)
## License
[MIT License](https://github.com/yingpengsha/use-screen-recorder-composition/blob/main/LICENSE) © 2022-PRESENT [PengshaYing](https://github.com/yingpengsha)