Parcourir la source

视频适应手机

moshaorui il y a 2 semaines
Parent
commit
fc9259bd7b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      resources/views/gallery-detail.blade.php

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

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