跳到主要内容
版本:3.x

ChannelLive

小程序内嵌视频号直播组件,展示视频号直播状态和封面,并无弹窗跳转至视频号。注意:使用该组件打开的视频号视频需要与小程序的主体一致。

支持情况:

参考文档

类型

ComponentType<ChannelLiveProps>

ChannelLiveProps

参数类型说明
feedIdstring视频 feedId
finderUserNamestring视频号 id,以“sph”开头的id,可在视频号助手获取。视频号必须与当前小程序相同主体。

API 支持度

API微信小程序H5React NativeHarmony
ChannelLiveProps.feedId✔️
ChannelLiveProps.finderUserName✔️