Auto rotate

Make the panorama automatically rotate once loaded using the autoRotate parameter. The parameter’s value should be a number, with the value specifying the rotation speed in degrees per second; positive is counter-clockwise, and negative is clockwise. The autoRotateInactivityDelay parameter can also be specified to have the panorama begin rotating again after there is no user interaction for the specified number of milliseconds.


<iframe width="600" height="400" allowfullscreen style="border-style:none;" src=";amp;autoRotate=-2"></iframe>



    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Auto rotate</title>
    <link rel="stylesheet" href=""/>
    <script type="text/javascript" src=""></script>
    #panorama {
        width: 600px;
        height: 400px;

<div id="panorama"></div>
pannellum.viewer('panorama', {
    "type": "equirectangular",
    "panorama": "",
    "autoRotate": -2


Pannellum is developed on GitHub by Matthew Petroff.
CDN via KeyCDN.