hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.13k stars 391 forks source link

camera not flling full screen #510

Closed nicholasVANDAL closed 3 months ago

nicholasVANDAL commented 3 months ago

Screenshot 2024-03-21 161800 Screenshot 2024-03-21 161752

when landscape or portrait the camera doesnt take up full screen. how can i fix this

when i inspect, the a-scene and the video next to it are both full vw and vh according to the css and inspector. and the video has a style on it too which looks to change height, width and even the absolute position with some offsets for the top and left values. but they dont seem to actually do anything.