npm i --save nativescript-asitsvideorecorder
- 版本:1.0.5
- GitHub:
- NPM: https://npmjs.net.cn/package/nativescript-asitsvideorecorder
- 下载
- 昨日: 0
- 上周: 0
- 上个月: 0
NativeScript ASITS 视频录制插件
一个简单易用的插件,用于使用 NativeScript 应用程序的摄像头功能。
安装
npm install nativescript-asitsvideorecorder
Angular 使用方法
registerElement("AsitsVideoRecorder", () => require("nativescript-asitsvideorecorder").AsitsVideoRecorder);
<AsitsVideoRecorder height="250" debug="true"
galleryPickerMode="single" showFlashIcon="true" showToggleIcon="true"
showCaptureIcon="true" showGalleryIcon="true" confirmSaveText="CONFIRM!" confirmRetakeText="RETAKE!" (loaded)="camLoaded($event)"
(toggleCameraEvent)="toggleCameraEvent($event)" (photoCapturedEvent)="photoCapturedEvent($event)"
(imagesSelectedEvent)="imagesSelectedEvent($event)">
</AsitsVideoRecorder>
许可证
MIT