# LivePlayerContext wx.createLivePlayerContext(string id, Object this)

Start from base library version 1.7.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support, need to Mini Program base library version no less than 1.9.6

create live-player context LivePlayerContext Object. Recommended use wx.createSelectorQuery Obtain context Object.

# parameter

# string id

live-player Component id

# Object this

Under a custom component, the this of the current component instance to manipulate within the component live-player assembly

# Return value

# LivePlayerContext

The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.