https://developers.weixin.qq.com/s/Y5ywE0mD7EFT live-player组件的全屏方法在安卓的真机上不调用,麻烦看一下
LivePlayerContext.requestFullScreen()该API在安卓上调用没反应https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePlayerContext.requestFullScreen.html ############WXML <live-player class="video" id="player_0" :src="rtmpurl" mode="live" autoplay > </live-player> <button bindtap='fullScreen'>full</button> ##############JS fullScreen() { let ctx = wx.createLivePlayerContext('player_0') ctx.requestFullScreen({ direction: 90, success() { console.log('full success') }, fail() { console.log('full fail') } }) } 真机调试下,调用了全屏API完全没有反应,成功和失败回调都没有走
2023-01-04[图片][图片]你说的是这个,你没有可能是你的账号类型不对吧
为什么小程序控制台左侧功能板块下没有直播的相关链接?无法开通直播功能?AppID(小程序ID):wx46317318042feddd
2022-12-27pages目录里的文件都是用户自定义的,你误操作删了自己再建一个就行
pages/index/index.json文件被删了怎么办?手机上无法扫描怎么办?这种情况怎么办,求大佬带带
2022-12-27解决办法在AndroidManifest.xml中加入联网权限: <uses-permission android:name="android.permission.INTERNET"></uses-permission>
小程序首次启动会报出net::ERR_CACHE_MISS异常,具体如下,请问怎么解决?[渲染层网络层错误] Failed to load font http://at.alicdn.com/t/font_3222412_e6d5lfflygd.woff2?t=1647340152400 net::ERR_CACHE_MISS (env: Windows,mp,1.06.2206020; lib: 2.23.2) [图片]
2022-12-27我的也是,调试模型可以出来,预览都出不来,真机调试直接报createView of undefined,有没有大神解决了的,说一下啊
真机调试错误,这是什么情况?怎么定位问题?VM21:2 (in promise) MiniProgramError Cannot read property 'createView' of undefined TypeError: Cannot read property 'createView' of undefined at n.value (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1064980) at n.value (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:757375) at t (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:757542) at n.value (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:757631) at eval (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1300784) at new Promise (<anonymous>) at pu (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1300746) at eval (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1302216) at Array.forEach (<anonymous>) at r (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1302194)
2021-04-01