Pannellum: 360 Video Resolution Bug in Chrome.

Created on 22 Jul 2020  路  2Comments  路  Source: mpetroff/pannellum

Changing to fullscreen and back in chrome causes the resolution of the non-fullscreen video to distort.

You can see this in the video example, https://pannellum.org/documentation/examples/video/

bug

Most helpful comment

The issue is that Chrome reports the wrong size for the viewer when it is checked in the fullscreenchange event handler after exiting full screen. I'd argue that this is a browser bug, but I was able to work around it using the relatively new ResizeObserver interface and fix this in 44e878f30763a51cbbbf5ab4c5b97fa4c3b2dfd9.

All 2 comments

The issue is that Chrome reports the wrong size for the viewer when it is checked in the fullscreenchange event handler after exiting full screen. I'd argue that this is a browser bug, but I was able to work around it using the relatively new ResizeObserver interface and fix this in 44e878f30763a51cbbbf5ab4c5b97fa4c3b2dfd9.

Awesome! That was a crazy fast fix, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FlokiTV picture FlokiTV  路  6Comments

DietRedThunder picture DietRedThunder  路  6Comments

dmstern picture dmstern  路  3Comments

littlee picture littlee  路  8Comments

DStillingfleet picture DStillingfleet  路  8Comments