How to capture and playback video


#1

My app needs to let the user record videos, store them locally with some meta data (no uploading to server required), and then be able to replay the video later.

I’ve finally got recording/capturing working using the MediaCapture.captureVideo (from cordova-plugin-media-capture), and store the filename/path in my mongo collection. However I can not figure out how to display the stored video files for playback. I’ve tried using a standard tag, but it fails due to security issues.

How can I let the user review previously recorded video files? At this point I’d settle for being able to launch the system video player externally.

This seems like it should be a nearly trivial exercise, but I’ve spent several hours with no luck. Any help is greatly appreciated!

Btw, I’m using Angular2 + Meteor