需求:视频播放,并记录上次播放的时间
<view class="v-wrap">
<video wx:if="{
{isShow}}" id="myVideo" style="width:100%;object-fit: fill;" src="{
{currentVideo.vUrl}}" show-center-play-btn='{
{false}}' poster="{
{currentVideo.vImg}}" show-play-btn show-mute-btn controls picture-in-picture-mode="[]" bindtimeupdate="timeupdateHandle" bindpause="pauseHandle" bindended="endedHandle" binderror="errorCallback" bindplay="playHandle"></video>
<image src="../../../static/image/icon_play.png" class="l-img" bindtap="playHandle" wx:if="{
{!isPlay}}"></image>
</view>
onReady() {
// 创建 video 上下文 VideoContext 对象
this.data.videoContext =