通过列表的点击事件自动播放列表对应的视频,同时停止上一个视频的播放。
源码:
<view>
<view class='vv' wx:for='{{vedio_data}}' wx:key=''>
<view class='block' xss=removed>
<image src='/img/1.png' class='img1' xss=removed></image>
<text class='text'>{{item.title}} </text>
<view id="{{index}}" class="cov