uni-app VideoPlayer iOS 离线打包 退出全屏观看后显示白屏
uni-app VideoPlayer iOS 离线打包 退出全屏观看后显示白屏
| 开发环境 | 版本号 | 项目创建方式 |
|---|---|---|
| Mac | macOS big sur 11.2.3 | 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里面就会出现这种情况
更多关于uni-app VideoPlayer iOS 离线打包 退出全屏观看后显示白屏的实战教程也可以访问 https://www.itying.com/category-93-b0.html
7 回复
顶顶 有人吗
更多关于uni-app VideoPlayer iOS 离线打包 退出全屏观看后显示白屏的实战教程也可以访问 https://www.itying.com/category-93-b0.html
顶顶 有人吗
我这边没有发现同样的问题,这边检查下代码的逻辑吧,或者发一个可复现的demo
请提供可以稳定复现的示例工程
你好,链接放百度云了,上面的机密信息里,可以看到不?
回复 zhychen: 看到了 稍等下 我下载来看看
请看一下私信

