blinkid-in-browser icon indicating copy to clipboard operation
blinkid-in-browser copied to clipboard

Uncaught (in promise): Error: The play() request was interrupted or prevented by browser security rules

Open sveres opened this issue 3 years ago • 1 comments

Hi, After enabling barcode reading with for camera, we started to get the following error: Uncaught (in promise): Error: The play() request was interrupted or prevented by browser security rules

I suspect part of the problem is coming from not catching the error of calling .play() https://github.com/BlinkID/blinkid-in-browser/blob/6b2af6dcaba91006de70b7ec7a8b2905e987fa9e/src/MicroblinkSDK/VideoRecognizer.ts#L337

sveres avatar May 17 '21 12:05 sveres

Could we expect option to avoid triggering "play" via sdk?

Chlebamaticon avatar Nov 10 '21 14:11 Chlebamaticon