号外号外,腾讯视频插件可以在QQ小程序上使用啦
Closed this issue · 4 comments
按文档描述方式接入即可
wepy框架开发的 QQ 小程序如何接入腾讯视频插件.
按照文档方法接入后,报错: Component is not found in path "plugin://tencentvideo/video" (using by "sub_find/pages/video_play");onAppRoute
Error: Component is not found in path "plugin://tencentvideo/video" (using by "sub_find/pages/video_play")
代码如下
app.js
"plugins": {
"tencentvideo": { "version": "1.0.0", "provider": "1109840991"
} }
使用界面代码如下
配置:
config = {
navigationBarTitleText: ' ',
navigationStyle: 'custom',
navigationBarBackgroundColor: '#F5F5F8',
backgroundColorTop: '#F5F5F8',
backgroundColor: '#F5F5F8',
navigationBarTextStyle: 'white',
usingComponents: {
'txv-video': 'plugin://tencentvideo/video'
}
}
按照文档方法接入后,报错: Component is not found in path "plugin://tencentvideo/video" (using by "sub_find/pages/video_play");onAppRoute
Error: Component is not found in path "plugin://tencentvideo/video" (using by "sub_find/pages/video_play")
用QQ小程序的beat版本试试,https://q.qq.com/wiki/tools/devtool