How can I dynamically calculate hfov for a Pannellum panorama to line up with a 16:9 image with object-fit: cover?
So, I’m using Pannellum to display panoramas. On my actual site, some of the different views are static images, while some are panoramas. Many of them have videos to transition between them, which have been produced so that they line up exactly with the static images and the initial views of the panoramas. However, this only works in the 16:9 aspect ratio the images and videos were produced in.