Code
addSceneInKp({sceneId, imgUrl}){
if(!sceneId && !imgUrl) return
const sceneName = PREFIXX_SCENE + sceneId
const sceneContent = `
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" fovmin="1" fovmax="179" limitview="auto" />
<image>
<sphere url="${imgUrl}" />
</image>
`
this.krpano.set(`scene[${sceneName}].content`, sceneContent)
}
Display More
If the imgURL path contains the "#" or "&" characters, it may not be accessible or result in an error. What is this and how can it be resolved?