zhychen
zhychen
  • 发布:2021-04-21 16:08
  • 更新:2021-06-03 16:43
  • 阅读:537

【报Bug】VideoPlayer iOS 离线打包 退出全屏观看后显示白屏

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: macOS big sur 11.2.3

HBuilderX类型: 正式

HBuilderX版本号: 3.1.9

手机系统: iOS

手机系统版本号: IOS 14

手机厂商: 苹果

手机机型: iPhone 11

页面类型: vue

打包方式: 离线

项目创建方式: HBuilderX

示例代码:

uniapp 代码 只是调用了 video组件:

<video src="本地路径" show-fullscreen-btn></video>  

xcode报错信息 :

2021-04-21 15:43:23.718273+0800 [1613:100448] IJKSDLGLView: renderbufferStorage fromDrawable
2021-04-21 15:43:23.718388+0800 [1613:100463] IJKSDLGLView:display: unable to tryLock GL active: 0
2021-04-21 15:43:23.718976+0800 [1613:99787] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <UITableView: 0x10c04bc00; frame = (276 0; 138 896); clipsToBounds = YES; hidden = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x280a141b0>; animations = { position=<CABasicAnimation: 0x280407a80>; bounds.origin=<CABasicAnimation: 0x280407bc0>; bounds.size=<CABasicAnimation: 0x280407be0>; position-2=<CABasicAnimation: 0x280403a80>; bounds.origin-2=<CABasicAnimation: 0x2804034e0>; bounds.size-2=<CABasicAnimation: 0x280400b80>; }; layer = <CALayer: 0x2804d18c0>; contentOffset: {0, 0}; contentSize: {138, 528}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <_UIFilteredDataSource: 0x280a13cc0>>
IJK_GLES2_Renderer_TexCoords_cropRight

操作步骤:

预期结果:

退出全屏能够原来视频的样子

实际结果:

bug描述:

videoPlayer 观看本地视频 全屏后再退出全屏 页面显示白屏,hbuilder里面真机调试没问题,在xcode里面就会出现这种情况

2021-04-21 16:08 负责人:无 分享
已邀请:
zhychen

zhychen (作者)

顶顶 有人吗

zhychen

zhychen (作者)

顶顶 有人吗

DCloud_iOS_WZT

DCloud_iOS_WZT

我这边没有发现同样的问题,这边检查下代码的逻辑吧,或者发一个可复现的demo

天生DR

天生DR - 天生我材必有用

请提供可以稳定复现的示例工程

  • zhychen (作者)

    你好,链接放百度云了,上面的机密信息里,可以看到不?

    2021-06-03 17:46

  • 天生DR

    回复 zhychen: 看到了 稍等下 我下载来看看

    2021-06-04 17:54

  • 天生DR

    请看一下私信

    2021-06-04 18:24

该问题目前已经被锁定, 无法添加新回复