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.
This plugin defines a global navigator. camera object, which provides an API for taking pictures and for choosing images from the system's image library. Although the object is attached to the global scoped navigator , it is not available until after the deviceready event.
Details. A plugin that enables an application to access the camera features of the user's device. This plugin allows the implementation of actions for taking pictures or choosing images from the device gallery.
While developers can still use Cordova in the Ionic stack, the future is Ionic with Capacitor (or Capacitor on its own with any popular web stack!). These apps are known as Web Native apps, in contrast to the older hybrid approach.
I'll just point you to the right direction:
Try these plugins (in order) and lemme know if either of them worked out for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With