收藏
回答

为什么PC端小程序调用uni.createMediaContainer()会报错呢?手机端没问题

开发工具内正常,手机上也正常,唯独在不管是PC端预览还是体验版在PC上打开都报错,为什么呢?

PC环境:

win11,win10都一样

小程序基础版本:3.6.5



SystemError (appServiceSDKScriptError)
fail to createMediaContainer. errMsg: operateMediaContainer:fail:not supported
Error: fail to createMediaContainer. errMsg: operateMediaContainer:fail:not supported
    at Function.<anonymous> (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:1603111)
    at u (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:151088)
    at Function.<anonymous> (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:151426)
    at p (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:151651)
    at Object.fail (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:152094)
    at Zu (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:664467)
    at rd (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:665210)
    at 8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:665410
    at r (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:651121)
    at s (8104fdf1a9f4fdc0bda683befe284f28-11275-V0FTZXJ2aWNlTWFpbkNvbnRleHQuanM=.cachedata:1:111327)
回答关注问题邀请回答
收藏
登录 后发表内容