Mayuresh
Mayuresh

Reputation: 1633

Cordova APP - Is it possible to show camera feed in a container?

I am using ionicFramework with Cordova to build an App. My requirement is to show (front) camera feed inside my app (say at top right corner of the app).

Unfortunately "cordovaCapture" is not working for me. "navigator.camera" just opens camera view, but my requirement is to show its feed in a container so its also not fitting in requirement.

I tried backgroundvideo plugin also.

Please help me in understanding, Is it possible to access camera feed without going native app approach ? Please share any leads.

Thanks in Advance.

Upvotes: 7

Views: 1622

Answers (1)

Abhishek Jain
Abhishek Jain

Reputation: 485

I'll just point you to the right direction:

  1. https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview
  2. https://github.com/donaldp24/CanvasCameraPlugin

Try these plugins (in order) and lemme know if either of them worked out for you.

Upvotes: 2

Related Questions