ArtPlayer.js Documentation

repository·master·Indexed 26 days ago

https://github.com/zhw2590582/artplayer

ArtPlayer.js is a modern, full-featured HTML5 video player ecosystem. It includes a core player and a wide array of specialized plugins for enhanced media playback, including support for ads (VAST), ambient light, ASR, Danmuku (bullet chat), HLS/DASH control, Chromecast, multiple subtitles, and automatic thumbnail generation. The project provides integration examples for React and Vue 3 using Vite.

Tokens
72.2K
Snippets
222
Records
401
Agent score
87%

What's inside ArtPlayer

  1. Use artplayer-plugin-vtt-thumbnail

    master

    The artplayer-plugin-vtt-thumbnail is a plugin for ArtPlayer that enables video thumbnail previews using a VTT (WebVTT) file. This allows users to see preview images when scrubbing through the video seek bar.

    You can view a live demo of the plugin in action at the official ArtPlayer website.

    https://artplayer.org/?libs=./uncompiled/artplayer-plugin-vtt-thumbnail/index.js&example=vtt.thumbnail
  2. Install and use artplayer-plugin-document-pip

    master

    The artplayer-plugin-document-pip is a plugin for ArtPlayer that enables Document Picture-in-Picture (PiP) functionality. This allows the video player to be moved into a dedicated floating window using the browser's Document Picture-in-Picture API.

    You can view a live demo of the plugin in action at the official ArtPlayer website.

    https://artplayer.org/?libs=./uncompiled/artplayer-plugin-document-pip/index.js&example=document.pip