PanoViewer

Responsive

Rotate the screen or click the button to resize the viewer.

projection: PANORAMA

image: panorama.jpg

source: Clouds Mountains Cold

var panoViewer = new eg.view360.PanoViewer(container, {
    image: "./img/panorama.jpg",
    projectionType: "panorama",
    useZoom: false
});

window.addEventListener("resize", function() {
    panoViewer.updateViewportDimensions();
});