xzw 4 năm trước cách đây
mục cha
commit
bd02b1bc91
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      web/public/static/js/main_2020_show.js

+ 5 - 1
web/public/static/js/main_2020_show.js

@@ -23556,6 +23556,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 +23673,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(),