If a camera source is requested c2 returns a fault notification if the camera height/width are not set to zero (default).
Attach a Capx
Description of Capx
A user media request is made after a button press.
Steps to Reproduce Bug
- Run the layout, click on the sprite.
TypeError: can't assign to properties of (new Boolean(true)): not an object
http://localhost:50002/UserMedia_plugin.js, line 566 (col 36)
[quote:662euvkn]Uncaught TypeError: Cannot create property 'width' on boolean 'true'
This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.
No attempt to create a width on a boolean....
NB this does not happen if a list of media sources is requested first.
- Chrome: (YES)
- FireFox: (YES)
- Edge: (YES)
Operating System and Service Pack
Construct 2 Version ID
r240 64 bit.