React Component for Pannellum (open source panorama viewer for the web)
The pannellum-react package is a React component library for the Pannellum project. It allows users to easily incorporate interactive panoramas into their React applications. Currently, there are some compatibility issues with React V18 that need to be addressed.
To install the pannellum-react component, follow these steps:
npm install pannellum-react
import Pannellum from "pannellum-react/es/elements/Pannellum";
Note: Using this import statement will skip importing the video.js component, reducing the production build size by over 500kb.
Please note that currently, only equirectangular type panoramas are supported. Support for multi-resolution panoramas is planned for future updates. The Tours component is currently not supported, but work is in progress.
The pannellum-react package is a React component library that provides a convenient way to incorporate interactive panoramas created using the Pannellum project into React applications. It offers features such as support for equirectangular type panoramas, custom hotspots for video tours, and the ability to dynamically update images without re-rendering the entire component. Note that there are some compatibility issues with React V18 that need to be resolved.