Giter VIP home page Giter VIP logo

backgroundvideo's Introduction

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 io.iclue.backgroundvideo

###Usage

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

###Getting started ######start recording

cordova.plugins.backgroundvideo.start('myvideo', 'front', 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.

##How to run the demo

git clone https://github.com/jamesla/backgroundvideo.git
cd backgroundvideo/demo
cordova plugin add io.iclue.backgroundvideo
cordova plugin add cordova-plugin-console
cordova platform add ios
cordova run --device

backgroundvideo's People

Contributors

ccreeves avatar jamesla avatar jhayward avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.