LivePlayerContext wx.createLivePlayerContext(string id, Object this)
基础库 1.7.0 开始支持,低版本需做 兼容处理。
创建 live-player 上下文 LivePlayerContext 对象。
参数
string id
live-player 组件的 id
Object this
在自定义组件下,当前组件实例的this,以操作组件内 live-player 组件
基础库 1.7.0 开始支持,低版本需做 兼容处理。
创建 live-player 上下文 LivePlayerContext 对象。
live-player 组件的 id
在自定义组件下,当前组件实例的this,以操作组件内 live-player 组件
原创文章,作者:晴川运维,如若转载,请注明出处:https://baike.qcidc.com/4837.html