|
@@ -130,6 +130,8 @@ var changeVideoMat = function(){
|
|
|
|
|
|
|
|
|
var updateVideo = (o)=>{//因为漫游中点位不准,所以在不同点更新视频位置
|
|
|
+ return
|
|
|
+
|
|
|
playVideo()
|
|
|
|
|
|
|
|
@@ -22224,7 +22226,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
//-------------------
|
|
|
window.initOverlay(r)
|
|
|
this.model.loadOverlays()
|
|
|
- loadVideo();//add
|
|
|
+ //loadVideo();//add
|
|
|
//-------------------
|
|
|
|
|
|
|
|
@@ -23556,6 +23558,10 @@ window.Modernizr = function(n, e, t) {
|
|
|
}else{
|
|
|
updateVideo({type:"beforeFlyOut", dur:I})//add
|
|
|
}
|
|
|
+ this.overlayGroup.visible = false;
|
|
|
+ this.overlayGroup.children.forEach((overlay)=>{
|
|
|
+ overlay.overlayType == "video" && overlay.plane.material.map.image.pause()
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
if(i == "panorama"){
|
|
@@ -23669,7 +23675,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
updateVideo({type:"flyDone", pano:this.currentPano})//add
|
|
|
Overlay.updateVisibles([this.currentPano])
|
|
|
}else{
|
|
|
- Overlay.updateVisibles(true)
|
|
|
+ //Overlay.updateVisibles(true)
|
|
|
}
|
|
|
|
|
|
h && p !== u.PANORAMA && i === u.PANORAMA ? this.startWarp(b.Retain, E.Retain, x.BLACK, null, null, s) : (s && s(),
|