|
@@ -355,7 +355,7 @@ window.initHot = function(model){
|
|
|
|
|
|
|
|
|
video.volume = 0
|
|
|
- video.muted = true
|
|
|
+ video.muted = !!manage.bgmShouldPlay//true
|
|
|
video.currentTime = 0
|
|
|
|
|
|
this.material_.map = new THREE.VideoTexture(video)
|
|
@@ -989,7 +989,11 @@ window.initHot = function(model){
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+ updateMute(){
|
|
|
+ if(this.texType == 'video'){
|
|
|
+ this.texMedia.muted = !!manage.bgmShouldPlay//true
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|