- getLocation:fail api scope is not declared ?
getLocation:fail api scope is not declared in the privacy agreement [图片] 隐私协议里已经添加收集位置声明。但是小程序还是提示没有声明
01-02 - @@@官方!video全屏后视频没全屏?
使用video作为一个内容盒子,在video里使用swiper嵌套两个video实现全屏状态下平滑切换视频,点击全屏的时候video盒子全屏,swiper内video在ios系统下不能全屏。[图片] 之所以使用video里嵌套video是为了 在全屏状态下更流畅的切换视频,修改src的话会有加载过程,屏幕会黑一下 复现代码 <video class="video-player-box" id="video_player_box" controls="{{false}}"> <video autoplay="{{true}}" class="demo" object-fit="cover" controls="{{false}}" src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo-720p.mp4"></video> <view class="controll-box"> <view class="button" bind:tap="fullscreen">全屏</view> <view class="button" bind:tap="cancelfullscreen">取消全屏</view> </view> </video> // index.js Page({ onLoad(){ this.data.playerBox=wx.createVideoContext('video_player_box', this) }, fullscreen:function(){ this.data.playerBox.requestFullScreen({direction:90}) }, cancelfullscreen:function(){ this.data.playerBox.exitFullScreen(); } }) .video-player-box{ width: 100%; position: relative; } .controll-box{ position: absolute; bottom: 0px; width: 100%; height: 50px; display: flex; justify-content: center; align-items: center; color: red; } .demo{ width: 100%; height: 100%; } .button{ margin: 10px; }
2023-10-07 - 同意后清除缓存,getPrivacySetting返回又变成true了?
同意后清除缓存,getPrivacySetting返回又变成true了
2023-09-07 - 微信开发者工具更新后启动Debug error?
[图片]
2023-08-08 - 使用skyline渲染引擎后video组件在开发者工具里报错?
系统:windows 11 开发工具:[图片] [图片] 稳定版也是又这个问题 WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 Cannot read property '_unprepared' of undefined(env: Windows,mp,1.06.2308032; lib: 2.33.0) t.<computed> @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 flushBlocked @ VM734:1 unblock @ VM734:1 ls @ VM734:1 doInitRender @ VM734:1 initRender @ VM734:1 renderPage @ VM734:1 (anonymous) @ VM734:1 onPageReady @ VM734:1 us @ VM734:1 setDataReady @ VM734:1 c @ VM734:1 (anonymous) @ VM734:1 (anonymous) @ VM734:1 (anonymous) @ VM734:1 (anonymous) @ VM734:1 (anonymous) @ VM734:1 _privEmit @ VM734:1 emit @ VM734:1 (anonymous) @ VM734:1 _privEmit @ VM734:1 emit @ VM734:1 (anonymous) @ VM734:1 (anonymous) @ VM734:1 subscribeHandler @ VM734:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 publish @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 Promise.then (async) o @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 postMessageAsync @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 L @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 sr @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 ur @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 Nt.emit @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 emit @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 emit @ WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 c @ VM211 asdebug.js:1 d @ VM211 asdebug.js:1 (anonymous) @ VM211 asdebug.js:1 g @ VM211 asdebug.js:1 p @ VM211 asdebug.js:1 (anonymous) @ VM211 asdebug.js:1 _ws.onmessage @ VM211 asdebug.js:1 WAServiceMainContext.js?t=wechat&s=1691131398486&v=2.33.0:1 TypeError: Cannot read property '_unprepared' of undefined at Function.c.prepare (<anonymous>:1:235723) at Function.b.prepare (<anonymous>:1:276546) at Function.b._advancedCreate (<anonymous>:1:279061) at c.createComponent (<anonymous>:1:297780) at wn (<anonymous>:1:668204) at wn (<anonymous>:1:668360) at wn (<anonymous>:1:668360) at wn (<anonymous>:1:668360) at wn (<anonymous>:1:668360) at wn (<anonymous>:1:668360)(env: Windows,mp,1.06.2308032; lib: 2.33.0)
2023-08-04 - 开启skyline渲染开发工具报错?
系统 : window 11 开发工具版本:[图片] 默认不使用模板创建后,开启skyline渲染开发工具报错 WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 TypeError: Cannot read property 'setSkylineEngine' of undefined at i (<anonymous>:1:139158) at r.<anonymous> (<anonymous>:1:142747) at <anonymous>:1:148818 at <anonymous>:1:118535 at Array.map (<anonymous>) at Object.subscribeHandler (<anonymous>:1:118527) at Object.publish (<anonymous>:1:118931) at <anonymous>:1:145034 at Object.n [as cb] (<anonymous>:1:111609) at F._privEmit (<anonymous>:1:103861)(env: Windows,mp,1.06.2307250; lib: 2.32.3) errorReport @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 l @ VM731:1 (anonymous) @ VM731:1 (anonymous) @ VM731:1 subscribeHandler @ VM731:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 publish @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 __onReadyHandler @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 E @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 publish @ VM731:1 (anonymous) @ VM731:1 n @ VM731:1 _privEmit @ VM731:1 emit @ VM731:1 Pe @ VM731:1 Be @ VM731:1 n @ VM731:1 _privEmit @ VM731:1 emit @ VM731:1 Pe @ VM731:1 e.g.__wxLibrary.onEnd @ VM731:1 (anonymous) @ VM731:1 $ @ VM219 subasdebug.js:1 evalScriptSync @ VM219 subasdebug.js:1 E @ VM219 subasdebug.js:1 t.loadLibFiles @ VM219 subasdebug.js:1 M @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 loadLibFiles @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 Promise.then (async) w @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 init @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 a @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 n @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 s @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 _ @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 n @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 s @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 (anonymous) @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 emit @ WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 c @ VM216 asdebug.js:1 (anonymous) @ VM216 asdebug.js:1 i.emit @ VM216 asdebug.js:1 c @ VM216 asdebug.js:1 async function (async) c @ VM216 asdebug.js:1 (anonymous) @ VM216 asdebug.js:1 g @ VM216 asdebug.js:1 f @ VM216 asdebug.js:1 (anonymous) @ VM216 asdebug.js:1 _ws.onmessage @ VM216 asdebug.js:1 WAServiceMainContext.js?t=wechat&s=1690862476452&v=2.32.3:1 [system] Error: nextMicroTaskCallback occur fatal error: TypeError: Cannot read property 'getEnv' of undefined at Module.M (<anonymous>:1:546379) at O (<anonymous>:1:154585) at $ (<anonymous>:1:154837) at _e (<anonymous>:1:159330) at Se._prepare (<anonymous>:1:161474) at Object.createOrGetStorageGroup (<anonymous>:1:159546) at Ke (<anonymous>:1:166930) at <anonymous>:1:167114 at <anonymous>:1:166412 at <anonymous>:1:166497(env: Windows,mp,1.06.2307250; lib: 2.32.3)
2023-08-01