New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

backgroundvideo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backgroundvideo

A plugin for recording video and overlaying it over an app

latest
npmnpm
Version
0.11.0
Version published
Maintainers
1
Created
Source

Backgroundvideo

A simple Cordova/Phonegap plugin to capture video and then display it onscreen via a transparent overlay without affecting app functionality.

How to use

Install

cordova plugin add https://github.com/jamesla/backgroundvideo.git

Usage

cordova.plugins.backgroundvideo.start(filename, cameradirection, shouldRecordAudio, successfn, errorfn);

Getting started

start recording
cordova.plugins.backgroundvideo.start('myvideo', 'front', true, null, null);
stop recording
cordova.plugins.backgroundvideo.stop(successFn, errorFn);

Other bits

Camera 'front' or 'back' to specify camera direction.

File

  • Outputs as mp4. You do not need to specify file extension.
  • Video files are saved to approot/tmp folder (cordova.plugins.backgroundvideo.stop() will return the file path).

Support

Please use the github issue tracker and we will come back to you as soon as we can.

Contribution

There's lots of Android phones all with their own quirks so we'd love it if you could contribute and help us support all of the devices out there.

FAQs

Package last updated on 07 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts