Polyv Help Center

Help Center

Interactive Feature Receiver UI Components

Updated: 2022-09-29 15:53:07

Overview

This project provides UI components for the Polyv live streaming interactive feature receiver (audience side), built with Vue.js 2.6.x. Developers can directly use these components or customize them as needed.

If you are using other frameworks such as React or Angular, you can refer to the component source code and SDK documentation to implement the corresponding interfaces yourself.

Note that some features are presented as modals in the UI design drafts, but this component only provides the main content. Please implement the outer modal (or other presentation forms) yourself and control visibility based on the corresponding component events.

Usage

Installation

npm i @polyv/interactions-receive-sdk @polyv/interactions-receive-sdk-ui-default

The former is the SDK, and the latter is the UI component.

Configuring the SDK

Please refer to the Interactive Feature Receiver SDK documentation for 「Introduction」 and 「Initialization」.

Load the components after the SDK initialization is complete.

Component Invocation

For specific usage, please refer to the 「Introduction」 and 「Usage」 sections in each component's documentation.

Component Documentation

After configuring the SDK, you can instantiate each SDK module and use them together with the components in this project.
See the detailed documentation for each functional component below.

联系客服,在线咨询