Version: 3.xOn this pageTaro.createVideoContext(id, component)创建 video 上下文 VideoContext 对象。支持情况: 参考文档类型(id: string, component?: TaroGeneral.IAnyObject) => VideoContextCopy参数参数类型说明idstringvideo 组件的 idcomponentTaroGeneral.IAnyObject在自定义组件下,当前组件实例的this,以操作组件内 video 组件示例代码videoContext = Taro.createVideoContext('myVideo')Copy