hostcia opened a new issue #772:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/772


   I'm using InAppBrowser, to open an external form.
   
   In this form there is an input file, so that the person can take a photo and 
attach it to the form.
   
   When I access the link through the browser, the access of the cell phone 
camera works correctly, but when I access it via InAppBrowser or an iframe, the 
input file does not open the camera.
   
   Is it necessary to enable some resource in the cord so that the camera can 
be accessed via InAppBrowser or iframe?
   
   
   ```
   <script>
           document.addEventListener("deviceready", onDeviceReady, false);
           function onDeviceReady() {
               cordova.InAppBrowser.open('https://apps.url.com/index.php', 
'_blank', 'location=no');
   
               navigator.mediaDevices.getUserMedia({
                   'audio': true,
                   'video': {
                       facingMode: 'environment'
                   }
               })
           }
       </script>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to