Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

Media Frame 2D object Growing and Shrinking Rapidly #3396

Open emclaren opened 3 years ago

emclaren commented 3 years ago

Description I've seen this a few times on my macbook (firefox), when something is shared in a media frame (a screenshare for sure, not sure about other media), the content bounces back and forth rapidly between being large and small.

This happened today at the A11y meetup, I saw it & several other folks in the room also saw it (although it was fine for some folks).

It makes the content unwatchable because it is changing so quickly, and the presenter might no be aware it is happening

┆Issue is synchronized with this Jira Task

camelgod commented 3 years ago

Same thing happens with 3D Objects and their scale. I suspect it has to do with the aspect ratio calculation because some objects sometimes spawn with 0.02 as their size for example. The function will calculate something like 3 / 0.02 and set the scale to 150.

CodingBitsDev commented 3 years ago

This is caused by this bug. https://github.com/mozilla/hubs/issues/4779