小程序
小游戏
企业微信
微信支付
扫描小程序码分享
手机型号:iphone7 系统版本:13.5.1 微信版本:7.0.8
video组件小窗push模式跳转不出现小窗,或出现小窗播放一段时间后出现绿屏
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
贴下你的video代码,另外你跳转别的页面的时候用的是navigateTo吗?
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<video
wx:if="{{currentIndex==index && item.path}}"
id="{{item.id}}"
style="height: {{height1}}rpx"
src="{{item.path}}"
poster="{{item.preview_img}}"
autoplay="{{isFirst && index==playIndex}}"
loop="{{true}}"
enable-danmu="{{true}}"
controls="{{false}}"
muted="{{false}}"
bindplay="handlePlay"
bindtap="handleControl"
binderror="handleError"
bindtimeupdate="handleTimeUpdate"
bindended="handleEnd"
object-fit="{{item.width>item.high?'':'cover'}}"
picture-in-picture-mode="push"
custom-cache="{{false}}"
>
跳转都是使用的navigateTo 别的机型没有出现问题
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
贴下你的video代码,另外你跳转别的页面的时候用的是navigateTo吗?
<video
wx:if="{{currentIndex==index && item.path}}"
id="{{item.id}}"
style="height: {{height1}}rpx"
src="{{item.path}}"
poster="{{item.preview_img}}"
autoplay="{{isFirst && index==playIndex}}"
loop="{{true}}"
enable-danmu="{{true}}"
controls="{{false}}"
muted="{{false}}"
bindplay="handlePlay"
bindtap="handleControl"
binderror="handleError"
bindtimeupdate="handleTimeUpdate"
bindended="handleEnd"
object-fit="{{item.width>item.high?'':'cover'}}"
picture-in-picture-mode="push"
custom-cache="{{false}}"
>
跳转都是使用的navigateTo 别的机型没有出现问题