tự động di chuyển khi load ảnh

This commit is contained in:
2026-06-12 20:23:00 +07:00
parent 133a8721bb
commit 00bde46c5e
2 changed files with 11 additions and 4 deletions
+4
View File
@@ -119,9 +119,13 @@ function initPanoramaViewer(imageUrl, hotspots = [], ownerId = null, initialPitc
activeViewer = pannellum.viewer('panorama-viewer', {
"type": "equirectangular",
"panorama": imageUrl,
"autoRotate": 0,
"autoRotateInactivityDelay": 5000,
"autoLoad": true,
"pitch": initialPitch,
"yaw": initialYaw,
"orientationOnByDefault": true,
"draggable": true,
"showControls": true,
"compass": false,
"mouseZoom": true,