Initial view

The initial pitch, yaw, and horizontal field of view can be specified using the pitch, yaw, and hfov parameters, respectively. These parameters will also be read from Photo Sphere XMP metadata, if present.


<iframe width="600" height="400" allowfullscreen style="border-style:none;" src=";amp;pitch=2.3&amp;amp;yaw=-135.4&amp;amp;hfov=120"></iframe>



    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Initial view</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": "",
    "pitch": 2.3,
    "yaw": -135.4,
    "hfov": 120


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