A lightweight, browser-based viewer for 360-degree images and videos. No additional setup required, just open the HTML file in any modern browser.
Try it out here: https://progamergov.github.io/html-360-viewer
Supports:
- 360° panoramic images, most formats supported by browsers, like JPEG (includes '.jpg'), PNG, WebP, etc.
- 360° videos in .mp4 and .webm format. Works as a 360 video player.
- Monoscopic 360 images and stereo images in top-bottom and left-right layouts
Work on all major web browsers that A-Frame supports.
- Drag & Drop support for instant media viewing
- Stereo toggle switch between monoscopic and stereo images (mono/top-bottom/side-by-side)
- Zooming via mouse wheel or pinch gesture
- Interactive panning with mouse or touch
- Fullscreen mode via the bottom right button.
- Screenshot functionality (UI hidden in capture)
- Video controls: play/pause, timeline slider
Option 1 – Local Use
- Download or clone this repository.
- Open
viewer360.html
in your browser. - Drag and drop a supported 360° image or video file, or click "Select Media" to browse.
Option 2 – Web Demo
- Visit the live demo in your browser.
- Upload a 360° image or video to start viewing.
Option 3 – Local Copy
- Copy the full contents of
viewer360.html
into a new text file. - Rename the file to something like
viewer360.html
(make sure it ends in.html
). - Open it in your browser.
Action | How to Use |
---|---|
Pan View | Left-click + drag or touch + drag |
Zoom | Mouse wheel or pinch gesture |
Fullscreen | Use the browser's fullscreen control |
Stereo Toggle | Bottom-left “Stereo” button |
Screenshot | Camera icon at bottom center |
Upload/Reset Media | “Upload” button below controls |
Play/Pause Video | Play/pause button on video controls |
Seek in Video | Use the timeline slider |
Contributions are welcome! Please feel free to submit a Pull Request.
If you use this library in your research or project, please refer to the included CITATION.cff file or cite it as follows:
@misc{egan2025html360viewer,
title={Browser-Based Viewer for 360 Images and Videos},
author={Egan, Ben},
year={2025},
publisher={GitHub},
howpublished={\url{https://github.com/ProGamerGov/html-360-viewer}}
}
Egan, B. (2025). Browser-Based Viewer for 360 Images and Videos [Computer software]. GitHub. https://github.com/ProGamerGov/html-360-viewer