# LivePlayerContext

LivePlayerContext Example, you can use the wx.createLivePlayerContext Get.

LivePlayerContext adopt id With one. live-player Component binding, the corresponding live-player Component.

# method

# LivePlayerContext.play()

play

# LivePlayerContext.stop()

stop

# LivePlayerContext.mute()

Mute

# LivePlayerContext.pause()

Pause

# LivePlayerContext.resume()

restore

# LivePlayerContext.requestFullScreen(Object object)

Enter full screen

# LivePlayerContext.exitFullScreen()

Exit Full Screen

# LivePlayerContext.exitPictureInPicture()

Exit window, which can be called on any page

# LivePlayerContext.snapshot(Object object)

screenshot

# LivePlayerContext.requestPictureInPicture()

Enter the small window

# sample code

Preview with Developer Tool