iphone8 video全屏闪退
发布于 5 年前 作者 wsu 13932 次浏览 来自 官方Issues
  • 当前 Bug 的表现(可附上截图)

    初始化,直接让video全屏, 真机调试,安卓上没问题,iPhone8上 闪退,其他IOS设备还没试。

  • 预期表现
  • 复现路径
  • 提供一个最简复现 Demo

//*********  wxml

<video

    id=‘videoPlayer’

    title=’’

    custom-cache=’{{false}}’

    src=’{{videoInfo.videoUrl}}’

    controls

    bindtimeupdate=‘videoTimeupdate’

    binderror=‘loadError’

    initial-time=’{{seconds}}’

    bindwaiting=‘loadWaiting’

    bindended=‘videoTimeEnd’

    bindfullscreenchange=‘screenchange’

    enable-play-gesture=’{{true}}’

    >

</video>

//*********  js

onLoad: function (options) {    

    this.videoCtx = wx.createVideoContext(‘videoPlayer’)

    this.videoCtx.requestFullScreen()

}

1 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部