Example of usage modified cordova-plugin-media-capture