浏览代码

视频适应手机

moshaorui 1 月之前
父节点
当前提交
fc9259bd7b
共有 1 个文件被更改,包括 2 次插入0 次删除
  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(),