- <video> 播放进度卡住但视频在播放,请问是什么原因?
我有个小程序是视频购买后才能观看的,设置的是1分47秒前可以试看,超过时间弹框提示用户购买。这两天有用户反馈观看到59秒,播放进度会卡住,但是视频在播放,请问是什么原因? 这是客户反馈的截图 [图片] 用户手机信息 "brand":"vivo","deviceBrand":"vivo","deviceModel":"V2329A","hostName":"WeChat","hostSDKVersion":"3.8.8","hostVersion":"8.0.60","memorySize":15203,"system":"Android 15","platform":"android" 代码如下: <video class="video_data" id="myVideo" :src="videoUrl" :poster="imgUrl+info.thumb" controls @timeupdate="videoTimeUpdateEvent" @waiting="handleWaiting" @play="handlePlaying" @error="handleError" :show-background-playback-button="info.is_buy?true:false"></video> videoTimeUpdateEvent(e) { console.log('videoTimeUpdateEvent:',e) // e.detail.currentTime为每次触发时,视频的当前播放时间 let that = this let currentTime = Number(e.detail.currentTime); if (this.isWaiting) { // 上报等待时间 const now = Date.now(); this.endStall(now) } // 试看结束 this.class_info.freed_time为试看时间 if (currentTime > this.info.trial_min && this.info.is_buy < 1) { // trial_min 观看时长 is_buy 是否已购买 // 试看结束,在这做一些想做的操作,例如停止视频播放 this.videoContext.exitFullScreen(); this.videoContext.pause(); this.videoContext.seek(this.info.trial_min); this.showAlertModel(this.isFirstCheck) this.isFirstCheck = false } },
06-18 - H5安卓右上角三个点直接出现好友分享没有使用配置的标题?
最近发现一个问题,H5的分享,安卓点击右上角弹出的面板里会直接出现要分享的好友,分享出去之后没有用配置的标题、描述和头像,但是点发送给好友之后的分享是正常的。请问这里有什么单独的配置吗?[图片]
2021-10-27 - App的Openid什么情况下会变?
App的Openid什么情况下会变? 最近App微信支付提示appid和openid不匹配,使用微信重新登录之后就可以支付了,公众号之前被封了,请问公众号解封之后openid会变吗
2021-07-12