video 标签用for循环出来 有几个视频,怎么只让第一个播放,完成后,再接着播第二个?
<view>
<view class="" v-for="(el,i) in srcList" :key="i" :data-id="el.id" [@click](/user/click)="playVideo($event)">
<video id="my" controls src="webPath + 'file/' + srcList.videoUrl" [@error](/user/error)="videoErrorCallback"
objdect-fit="cover" enable-danmu danmu-btn>
<source>
</source>
</video>
</view>
</view>![](https://image.wxopen.club/content_42725250-b9f1-11eb-b214-001a7dda7111.png)