| | |
| | | panoFrame.setAttribute("src",ifrSrc); |
| | | }) |
| | | this.isLoading = false |
| | | // removepano('krpanoSWFObject') |
| | | // const basepath = `${window.ProjectConfig.panoUrl}/Panorama${item.PbUrl}/vtour/` |
| | | // const xmlurl = `${basepath}tour.xml?r=${(Math.random() * 100000 + 1)}` |
| | | // let setting = {} |
| | | // if (scene) { |
| | | // const scenename = 'scene_' + scene.PsScenename |
| | | // setting = { |
| | | // startscene: scenename |
| | | // } |
| | | // } |
| | | // this.$nextTick(() => { |
| | | // embedpano({ |
| | | // xml: xmlurl, |
| | | // target: 'panoviewpreview', |
| | | // basepath, |
| | | // vars: setting, |
| | | // html5: 'auto', |
| | | // passQueryParameters: true, |
| | | // }) |
| | | // }) |
| | | }, |
| | | sceneShow() { |
| | | const iframe = document.getElementById('scene-iframe') |