1、播放視頻時,出現如下錯誤
Error: Component is not found in path “plugin://tencentvideo/video” (using by “pages/video/video”)
解決方法:未配置本項目使用的插件,在app.json文件加入插件引入配置
"plugins": {
"tencentvideo": {
"version": "1.3.6",
"provider": "wxa75efa648b6078qa"
}
}
2、域名配置出錯
解決方法
3、本地加載圖片失敗: Failed to load local image resource /pages/XXX/,the server responded with a status of 500 (HTTP/1.1 500 Internal Server Error)
解決方法:圖片路徑配置錯誤,如將image:“images/index.jpg"改成image:”/images/index.jpg"