Polyv Help Center

Help Center

Overview

Updated: 2021-05-06 15:20:39

Product Introduction

The Player SDK is a key component of POLYV's cloud video service. Based on POLYV's powerful backend capabilities and video processing technology, it provides users with simple, fast, secure, and stable video playback services. The Player SDK is deeply integrated with POLYV's cloud video business, offering features such as encrypted playback, screen recording prevention, quality and stream switching, ad embedding, three-panel teaching, trial viewing, and data statistics. It covers a variety of application scenarios, allowing users to focus on business development and enjoy an ultra-fast, high-definition playback experience.

This document introduces the Web Player for POLYV's cloud video-on-demand service. By providing a simple and convenient embedding method along with flexible APIs, it helps developers quickly integrate with their own web applications to achieve video playback functionality.

image-20200527144014829

Core Advantages

  • Simple and Easy to Integrate: With a unified embedding code, videos can be played using only a video ID, enabling rapid integration with your own business.
  • Rich Features: In addition to basic playback, the player integrates commonly used video-related business functions, significantly reducing the development workload for users.
  • Industry-Leading Video Copyright Protection System: Provides comprehensive security protection for videos across multiple levels, including video encryption, anti-theft playback, and anti-recording. For details, see: PlaySafe Video Copyright Protection System.
  • Cloud-Client Integration: Encryption on the cloud and decryption on the client ensure video security. Data collected on the client and analyzed on the cloud supports business operations.
  • Full Terminal Compatibility: Smart switching between PC H5, Flash, and mobile H5 players, adapting to almost all terminal devices and browsers.

Feature List

Feature Description
Format and Codec Supports MP4, HLS (M3U8), FLV, POLYV's proprietary encrypted video format, and MP3 audio format. Supports H.264 video encoding and AAC audio encoding.
Player Skin The Web Player includes multiple complete skin UIs, which can be selected and customized in the VOD management backend: Player > Skin Settings.
Cover Image Supports setting a cover image displayed before video playback.
URL Playback In addition to playing via the VOD-provided vid method, supports URL-based playback of local and online videos. Supported file formats depend on the current browser.
Playback Control Supports preloading, autoplay, play/pause, progress dragging, fullscreen playback, loop playback, and video switching.
Volume Control Supports real-time system volume adjustment.
Quality Switching Supports switching between multiple quality streams after video transcoding. The player has a built-in automatic retry mechanism; if playback fails for one quality, it attempts to switch to another.
Multi-Stream Switching Supports switching between multiple CDN streams. The player has a built-in automatic retry mechanism; if playback fails on one CDN stream, it attempts to switch to another.
Speed Playback Supports video playback speed adjustment from 0x to 3x.
Audio/Video Switching If the account has enabled additional audio file transcoding, supports switching between video and audio modes.
Resume Playback Continues playback from the point where the last playback ended.
Player Logo Supports setting a custom player logo for brand exposure.
Intro/Outro Playback Supports setting image or video intros and outros.
Ad Embedding Supports embedding intro, outro, pause, and pop-up ads.
Image-Text Promotion Supports embedding image-text promotion links.
Video Trial Supports video trial playback; playback stops after reaching the set preview duration.
Sub-Video Playback Plays a segment of a video (without creating a new video).
Watch Password Supports requiring a correct password to watch the video.
Domain Verification Supports setting a whitelist or blacklist for playback domains.
Authorized Playback Supports the player requesting a custom authorization API; playback is only allowed upon successful authorization.
Watermark Supports displaying custom text irregularly over the video for anti-recording, information prompts, etc.
Encrypted Video Playback Supports playback of encrypted videos after VOD transcoding and segment encryption.
Browser Anti-Recording Automatically stops playback when detecting screen recording by the browser itself or third-party browser plugins.
Video Markers Supports adding marker information to videos and displaying corresponding marks on the progress bar for quick navigation to key content.
Bilingual Subtitles Supports custom styling for uploaded subtitle files and displaying bilingual subtitles.
Danmaku (Barrage) Supports sending and displaying danmaku messages.
Quiz Pop-ups Supports popping up quiz questions during playback.
Three-Panel Courseware Supports three-panel display of video, courseware (PPT, PDF format), and courseware outline.
Audience Info Collection Supports setting an information registration form; viewers must register before continuing to watch the video.
Custom Right-Click Menu Supports customizing the player's right-click menu options, supporting both link and function types.
Video Screenshot Supports capturing any frame of the playback screen.
Picture-in-Picture Supports the video "popping out" of the browser and floating on top of the screen.
One-Click Sharing Supports one-click sharing to social platforms such as WeChat and Weibo.
Internationalization Supports Chinese and English.
VR Video Playback Supports playing VR videos.
Statistics Supports reporting viewing behavior data, viewable in the management backend.
联系客服,在线咨询