Polyv Help Center

Help Center

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-player folder into the app/watch/src/package-watch/components/player directory.
  • Modify the polyv-live-player reference path in the player-bridging.json usingComponents 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-player folder into the app/watch/src/package-watch/components/player directory.
  • Modify the polyv-live-player reference path in the player-bridging.json usingComponents field.
{
  "component": true,
  "usingComponents": {
    "polyv-live-player": "../../plv-live-player/plv-live-player"
  }
}
  • Set the player-bridging.ts forceVideo parameter to true to force the use of the video component for playback.
  • Remove the plugin reference from app/watch/src/app.json.
联系客服,在线咨询
在线咨询