aragagnin commented on issue #194:
URL:
https://github.com/apache/cordova-plugin-media-capture/issues/194#issuecomment-808729426
I have the same problem. In particular, the following line
```js
navigator.device.capture.captureImage(captureSuccess, captureError,
{limit:2});
```
gives the following exception on both Firefox and Chrome:
```js
Uncaught TypeError: URL.createObjectURL: Argument 1 is not valid for any of
the 1-argument overloads.
startPreview
http://localhost:8000/plugins/cordova-plugin-media-capture/src/browser/CaptureProxy.js:120
CaptureProxy.js:120:32
startPreview
http://localhost:8000/plugins/cordova-plugin-media-capture/src/browser/CaptureProxy.js:120
```
It is probably related to this outdated function call:
https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL#using_object_urls_for_media_streams
--
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]