Overview
Product Introduction
The Player SDK is a key component of POLYV's video cloud 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 video cloud services, offering features such as encrypted playback, screen recording prevention, quality and stream switching, embedded ads, three-screen teaching, trial viewing, and data statistics. It covers a variety of application scenarios, allowing users to focus on their 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.

Core Advantages
- Simple and Easy to Integrate: With a unified embedding code, you only need a video ID to play videos, enabling rapid integration with your own business.
- Rich Features: In addition to basic playback functions, the player integrates commonly used video-related business features, 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 support 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 before video playback. |
| URL Playback | In addition to the vid-based playback provided by VOD, 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 for 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 it last ended. |
| Player Logo | Supports setting a custom player logo for brand exposure. |
| Intro/Outro Playback | Supports setting image or video intros and outros. |
| Embedded Ads | Supports embedding intro, outro, pause, and pop-up ads. |
| Image-Text Promotion | Supports embedding image-text promotion links. |
| Video Trial | Supports video trial viewing; 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. |
| Playback Domain Verification | Supports setting a whitelist or blacklist for playback domains. |
| Authorized Playback | Supports the player requesting a custom authorization API; the video can only be played after authorization is granted. |
| Watermark | Supports displaying set text content irregularly on the video for purposes such as anti-recording and information prompts. |
| Play Encrypted Video | Supports playing encrypted videos that have been transcoded and sliced-encrypted via VOD. |
| Browser Anti-Recording | Automatically stops playback when detecting that the browser itself or a third-party browser plugin has started screen recording. |
| Video Markers | Supports adding marker information to a video and displaying corresponding marks on the player progress bar, allowing viewers to quickly locate important content. |
| Bilingual Subtitles | Supports custom styling for uploaded subtitle files and displaying bilingual subtitles. |
| Danmaku (Bullet Comments) | Supports sending and displaying danmaku. |
| Quiz Questions | Supports popping up quiz questions during playback. |
| Three-Screen Courseware | Supports three-screen display of video, courseware (PPT, PDF format), and courseware outline. |
| Audience Information 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 for playback. |
| One-Click Sharing | Supports one-click sharing to social platforms such as WeChat and Weibo. |
| Internationalization | Supports Chinese/English. |
| VR Video Playback | Supports playing VR videos. |
| Statistics | Supports reporting viewing behavior data, which can be viewed in the management backend. |
