Player Component Types
Updated: 2025-09-28 16:36:31
There are three ways to play live streams in WeChat Mini Programs: the live plugin, the live-player component, and the video component.
The choice of playback component depends on the mini program's main category and whether the required qualifications are met.
1. Live Plugin
Category requirements: Plugin Service Categories
Currently, the POLYV viewing client defaults to using the live plugin.
2. live-player Component
Category requirements: live-player Service Categories
2.1 Installing the live-player Playback Component
Download the Custom Playback Component (live-player component playback type)
- After extracting, place the
plv-live-playerfolder into theapp/watch/src/package-watch/components/playerdirectory. - Modify the polyv-live-player reference path in the
player-bridging.jsonusingComponents field.
{
"component": true,
"usingComponents": {
"polyv-live-player": "../../plv-live-player/plv-live-player"
}
}
- Remove the plugin reference from
app/watch/src/app.json.
3. video Component
Download the Custom Playback Component (video component playback type)
- After extracting, place the
plv-live-playerfolder into theapp/watch/src/package-watch/components/playerdirectory. - Modify the polyv-live-player reference path in the
player-bridging.jsonusingComponents field.
{
"component": true,
"usingComponents": {
"polyv-live-player": "../../plv-live-player/plv-live-player"
}
}
- Set the
player-bridging.tsforceVideo parameter to true to force the use of the video component for playback. - Remove the plugin reference from
app/watch/src/app.json.
