User Media

Bugs will be moved here once resolved.

Post » Mon Nov 28, 2016 8:04 pm

Problem Description
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
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.

Observed Result
Javascript error!
TypeError: can't assign to properties of (new Boolean(true)): not an object
http://localhost:50002/UserMedia_plugin.js, line 566 (col 36)


and

Uncaught TypeError: Cannot create property 'width' on boolean 'true'
at pluginProto.Instance.Acts.RequestCamera

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.


Expected Result
No attempt to create a width on a boolean....

NB this does not happen if a list of media sources is requested first.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Edge: (YES)

Operating System and Service Pack
W10 x64

Construct 2 Version ID
r240 64 bit.
Learning other engines, but C2 still rocks. Image Image Image Image
B
80
S
22
G
95
Posts: 2,417
Reputation: 57,671

Post » Wed Dec 21, 2016 1:23 pm

Thanks, should be fixed in next build.
Scirra Founder
B
414
S
245
G
92
Posts: 25,198
Reputation: 200,337


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests