You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 可以尝试把视频播放链接替换我们这个视频链接试试看是否正常,一般这种情况都是服务端设置问题,会报错`Origin weapp://wechat-game-runtime is not allowed by Access-Control-Allow-Origin`,但是没有打印到客户端,只需要配置服务端允许微信跨域访问即可(视频链接:https://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400 )
70
70
71
-
2. 视频在 IOS 播放有声音没画面?
71
+
2.VideoPlayer 视频在 IOS 播放有声音没画面?
72
72
73
73
- 开启了高性能+,先临时关闭高性能+
74
74
75
-
3.为什么 IOS 高性能模式只能同时播放一个视频?
75
+
3.VideoPlayer 为什么在 IOS 高性能模式只能同时播放一个视频?
76
76
77
77
- IOS 的播放策略,只能从逻辑上兼容
78
78
79
-
4.是否应该使用 VideoPlayer?
79
+
4.应该使用 VideoPlayer 还是 WXVideo?
80
80
81
81
- 如果只是单纯使用全屏的视频播放,更推荐使用小游戏 API 视频播放能力。请参考[小游戏开发者文档](https://developers.weixin.qq.com/minigame/dev/api/media/video/wx.createVideo.html)以及示例[Video Demo](https://github.com/wechat-miniprogram/minigame-unity-webgl-transform/tree/main/Demo/WX_Video)
0 commit comments