Capturing video and allowing playback
It's possible to capture video using Ionic. There is a different plugin called Cordova Media Capture, which allows more flexible access to audio and video capability. ngCordova also ported this plugin to create the $cordovaCapture
service (http://ngcordova.com/docs/plugins/capture/).
This is very convenient because you just need to call any of those three functions:
$cordovaCapture.captureAudio
$cordovaCapture.captureImage
$cordovaCapture.captureVideo
You could use this plugin for taking a photo as well, but it doesn't have a rich set of features like the Cordova Camera plugin does. The Media Capture plugin only provides access to the video camera to play back or update the resulting video file to a backend server. You cannot use this plugin to perform video processing such as adding text, animation, and special effects.
In this section, you will create a small app with a video capture button. You will learn how to create a video directive so that...