收藏
回答

开发过程中发现的各种问题,如 video 和 swiper

框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 微信安卓客户端 8.0.42 3.0.0

问题说明 :以下所有问题,都是在 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


以后有问题,也都会在这儿,一个一个列出来,感谢!


回答关注问题邀请回答
收藏

1 个回答

  • 黄思程
    黄思程
    2023-10-08

    skyline video 在开发者工具上不好实现,暂未支持,相关错误我们会先优化下。

    swiper 这个已知,排查中,会尽快修复

    2023-10-08
    有用
    回复
登录 后发表内容