Skip to main content

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).

https://github.com/danielsogl/cordova-plugin-video-capture-plus

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-video-capture-plus
$ npm install @ionic-native/video-capture-plus
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in 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'));