https://github.com/hua1995116/vuepress-blog/tree/master/docs/frontend/demo/360-disney 代码详解 <style> #photosphere { width: 100%; height: 100%; } </style> </head> <body>
<script src= photo-sphere-viewer.js"></script> <script> const PSV = new PhotoSphereViewer.Viewer({ container : 'photosphere ', // 容器id panorama : '360.jpg', // 全景图地址 caption : '', loadingImg: 'assets/photosphere-logo.gif直接上代码: var photosphere = document.getElementById('photosphere'); var PSV = new PhotoSphereViewer({ panorama: 'Bryce-Canyon-National-Park-Mark-Doliner.jpg', panorama: 'sun.jpg', // 容器 container: photosphere
Getting started with VR view for the web The simplest way to embed a photosphere on your website is by