소스 검색

Merge branch 'refs/heads/master' into stable

moshaorui 5 일 전
부모
커밋
46b1f957b7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      resources/views/gallery-detail.blade.php

+ 2 - 0
resources/views/gallery-detail.blade.php

@@ -325,6 +325,8 @@
                     height: $img.height(),
                     display: 'none' // Initially hidden until loaded
                 }
+            }).on('loadedmetadata', function() {
+                $(this).prop('muted', true); // 确保静音
             });
 
             if (loadIndexes[index] === 0 && videoUrl != "") {