Utilizing a library known as panolens for displaying a 360-degree panoramic view, hinging on three.js. Within my application, there are two views: one containing custom content and the other serving as a container for panolens. Initially, the first view is visible (with display: block
), while the panolens container is hidden (with display: none
). There are two buttons enabling toggling between these views, adjusting the display property accordingly. Additionally, there is a button facilitating the transition to full-screen mode via the requestFullscreen
method.
Upon toggling full-screen mode (entering and exiting) and subsequently switching to the panolens view, a black screen is displayed.
Live example Browser- [x] All
- [x] All