User Media

0 favourites
  • 2 posts
From the Asset Store
225 interface, futuristic, ui, sounds that can be used in different kind of games, especially for futuristic, space ones
  • 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

    [quote:662euvkn]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

    [quote:662euvkn]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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks, should be fixed in next build.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)