2 次代码提交 dcaf50707f ... 46b1f957b7

作者 SHA1 备注 提交日期
  moshaorui 46b1f957b7 Merge branch 'refs/heads/master' into stable 3 天之前
  moshaorui 83c3329054 相册确保预览不会发声 3 天之前
共有 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 != "") {