Video Capture Plus
This plugin offers some useful extras on top of the default Media Capture Plugin capabilities:
- HD recording.
- Starting with the front camera.
- A custom overlay (currently iOS only).
Cordovaの問題で困っていますか?

本格的なプロジェクトを構築している場合、トラブルシューティングに時間を費やす余裕はありません。Ionicのエキスパートが、保守、サポート、統合に関する公式サポートを提供しています。
インストール
Ionic Native Enterprise はIonic Teamが完全にサポートしメンテナンスしているプラグインを利用できます。 詳しくみる か、 エンタープライズプラグインに興味があれば 連絡ください
サポートしているプラットフォーム
- Android
- iOS
利用方法
React
Angular
import { VideoCapturePlus, VideoCapturePlusOptions, MediaFile } from '@ionic-native/video-capture-plus/ngx';
constructor(private videoCapturePlus: VideoCapturePlus) { }
...
const options: VideoCapturePlusOptions = {
limit: 1,
highquality: true,
portraitOverlay: 'assets/img/camera/overlay/portrait.png',
landscapeOverlay: 'assets/img/camera/overlay/landscape.png'
}
this.videoCapturePlus.captureVideo(options).then(mediafile: MediaFile[] => console.log(mediafile), error => console.log('Something went wrong'));