Browse Source

视频适应手机

moshaorui 6 days ago
parent
commit
fc9259bd7b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/views/gallery-detail.blade.php

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

@@ -298,6 +298,8 @@
                 autoplay: true,
                 autoplay: true,
                 muted: true,
                 muted: true,
                 loop: true,
                 loop: true,
+                playsinline: true,
+                controls:true,
                 css: {
                 css: {
                     width: $img.width(),
                     width: $img.width(),
                     height: $img.height(),
                     height: $img.height(),