skyline连video都无法播放,简直无语!所有设计都按skyline模式去设计,做到中途,发现skyline不能渲染video,靠!
skyline模式的页面无法正常使用小程序的 MobX 绑定辅助库详情看代码,skyline模式的页面,引用MobX Store定义的属性, 无法通过 this.data.xxx 来访问通过store共享的变量, webview模式的页面正常
2024-10-16一年过去了,skyline video还是有楼主的问题,怎么回事?现在整个项目几乎都用skyline模式,因为听你们吹渲染很快,很🐂。工具版本:1.06.2407120
开发过程中发现的各种问题,如 video 和 swiper问题说明 :以下所有问题,都是在 skyline 模式下发现的,目前自己的项目主要是采用 skyline 问题1: video 在 skyline 模式的问题 代码片段 https://developers.weixin.qq.com/s/Al8Y0Hmb7RLI [图片] ``` <video class="dynamic-video" src="http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400" show-play-btn="{{true}}" picture-in-picture-mode="{{['push', 'pop']}}" bind:error="videoErrorCallback" ></video> ``` 问题1: 级别 警告 behavior "video-platform" is not found (when preparing behavior "video") 问题2: 级别 错误 e.updateVideo is not a function 问题3: 级别 错误 当点击播放的时候,出现 this.play is not a function 温馨提示: 开发工具是 1.06.2308310 在手机上,并没有出现上面的问题 问题2 swiper 在 skyline 模式下,indicator-color 属性无效 代码片段 https://developers.weixin.qq.com/s/tp9X0Hmi7wLP [图片] ``` <swiper indicator-dots="{{true}}" /// 这个属性无效 indicator-color="#ffffff" indicator-active-color="#ff0000" > <swiper-item> <view style="background-color: green; width: 100%; height: 100%;">1</view> </swiper-item> <swiper-item> <view style="background-color: blue; width: 100%; height: 100%;">2</view> </swiper-item> </swiper> ``` 切换成 webview 模式的时候,没有问题 温馨提示: 开发工具是 1.06.2308310 以后有问题,也都会在这儿,一个一个列出来,感谢!
2024-10-16