gomegaminds / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubs.mozilla.com
Mozilla Public License 2.0
1 stars 0 forks source link

YouTube video sticks to cursor when placing in a room #185

Closed SpaceBeing1 closed 1 year ago

SpaceBeing1 commented 1 year ago

This is an interesting bug... when I place a YouTube video in a classroom using the Classroom Editor, it sticks to the cursor and I am unable to move or position it. The only way to resolve it is to move it far enough away from me that it converts back to the YouTube logo. Then I am able to place it as usual.

Screenshot 2023-01-18 134649

camelgod commented 1 year ago

This is not a bug but the way CSS2D rendering works. The video you see is a real youtube video embedded on the page, and you cannot drag it as you are just triggering the youtube controls inside the window using the cursor. The reason why we have the youtube logo is so that you can position it.

camelgod commented 1 year ago

Closing this, it is intended behaviour, not a bug. Follow up when CSS3D implementation is done.