视频在swiper里面,苹果机型滑动轮播图在回到视频视频默认控件会消失。
188 浏览2023年03月01日作者:listenter

      <swiper-item class="switem" tt:if="{{info.video}}">

                <video src="{{info.video}}" id="myVideo" class="my-video" object-fit="cover" poster="{{info.thumb}}"

                     muted="{{ismuted}}" bindplay="bindplay" bindpause="bindpause"></video>

          </swiper-item>

      <swiper-item class="switem" tt:if="{{info.video}}">

<image lazy-load src="{{item.imgPath}}" class="slide-image" data-id="{{item.roomType}}"

                        data-index='{{index}}' data-link='{{item.link}}' bindtap='viewAd'></image>

          </swiper-item>

最后一次编辑于 2023 年 03 月 01 日
1 条评论

相关文章

专题推荐

热门文章

热门问答