2 Commits dcaf50707f ... 46b1f957b7

Autore SHA1 Messaggio Data
  moshaorui 46b1f957b7 Merge branch 'refs/heads/master' into stable 3 giorni fa
  moshaorui 83c3329054 相册确保预览不会发声 3 giorni fa
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 != "") {