uni-app LivePusher高度不能撑满100%,在新版本Hbuilder中出现的问题。
uni-app LivePusher高度不能撑满100%,在新版本Hbuilder中出现的问题。
| 开发环境 | 版本号 | 项目创建方式 |
|---|---|---|
| HBuilderX | 3.1.22 | 云端 |
产品分类:HTML5+
手机系统:Android
手机系统版本号:Android 8.1
手机厂商:魅族
手机机型:魅族
打包方式:云端
示例代码:
```html
<div class="pusher" id="pusher"></div>
pusher = new plus.video.LivePusher('pusher', {
mode: 'FHD',
muted: true,
'auto-focus': localStorage.autoFocus == 'false'? false : true,
aspect: aspect < 0.5 ? '' : '9:16'
})
pusher.preview()
操作步骤: 如上代码创建LivePusher
预期结果: LivePusher默认宽高为100%
实际结果: LivePusher高度没有撑满webview
bug描述: LivePusher高度无法撑满屏幕,hbuilder更新后出现的。ios没问题,安卓3.1.18版本没问题,但是云打包有问题。
更多关于uni-app LivePusher高度不能撑满100%,在新版本Hbuilder中出现的问题。的实战教程也可以访问 https://www.itying.com/category-93-b0.html
2 回复
官方说下个版本修复
更多关于uni-app LivePusher高度不能撑满100%,在新版本Hbuilder中出现的问题。的实战教程也可以访问 https://www.itying.com/category-93-b0.html


