Zurück zum Ranking

zhw2590582/ArtPlayer

JavaScriptartplayer.org

:art: ArtPlayer.js is a modern and full featured HTML5 video player

playervideohtml5danmuscreenshotcontextmenulayersqualitythumbnailssubtitlehighlight
Sterne-Wachstum
Sterne
3.9k
Forks
361
Wochenwachstum
Issues
15
1k2k3k
Jan. 2023März 2024Mai 2025Juli 2026
Artefaktenpmnpm install artplayer
README

logo

ArtPlayer.js

:art: ArtPlayer.js is a modern and full featured HTML5 video player

Size Downloads Version License jsdelivr

Online Editor API Document Danmuku Changelog 🤖LLMs

screenshot

Home Page

https://artplayer.org

Mobile Demo

Features

ArtPlayer.js is an easy-to-use and feature-rich HTML5 video player, and most of the player's functional controls support customization, which makes it easy to connect with your business logic. In addition, it directly supports .vtt, .ass and .srt subtitle formats. Integration with other dependencies such as flv.js, hls.js, dash.js, etc. is also very simple. The code is highly decoupled, the structure and logic are clear, and it is easy to track errors and add new features.

Install

Install with npm:

$ npm install artplayer

Or install with yarn:

$ yarn add artplayer

Or install with pnpm:

$ pnpm add artplayer

Or install with bun:

$ bun add artplayer
import Artplayer from 'artplayer'

Or umd build also available:

<script src="path/to/artplayer.js"></script>

Or from CDN:

<!-- jsdelivr -->
<script src="https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js"></script>

<!-- unpkg -->
<script src="https://unpkg.com/artplayer/dist/artplayer.js"></script>

Will expose the global variable to window.Artplayer.

Usage

<div class="artplayer-app"></div>
let art = new Artplayer({
  container: '.artplayer-app',
  url: 'path/to/video.mp4',
})

Plugins

Name Describe State
artplayer-plugin-danmuku Danmuku (bullet comment) system
artplayer-plugin-hls-control HLS quality control
artplayer-plugin-dash-control DASH quality control
artplayer-plugin-vtt-thumbnail VTT thumbnail preview
artplayer-plugin-multiple-subtitles Multiple subtitles support
artplayer-plugin-chromecast Google Chromecast support
artplayer-plugin-vast VAST/VPAID advertising
artplayer-plugin-chapter Video chapters support
artplayer-plugin-auto-thumbnail Auto-generated thumbnails
artplayer-plugin-ambilight Ambilight effect
artplayer-plugin-document-pip Document Picture-in-Picture
artplayer-plugin-audio-track Independent audio track playback
artplayer-plugin-jassub ASS/SSA subtitle support
artplayer-plugin-danmuku-mask Danmuku masking (smart blocking)
artplayer-plugin-asr Automatic Speech Recognition
artplayer-plugin-ads Video advertising plugin WIP

Libraries

Name Describe State
hls.js HLS client
dash.js MPEG DASH player
flv.js HTML5 FLV Player
mpegts.js MPEG-TS/FLV Player
webtorrent.js Streaming torrent client

Proxys

Name Describe State
Canvas Proxy video to canvas
Mediabunny Mediabunny proxy

Changelog

CHANGELOG.md

Contributing

CONTRIBUTING.md

Donations

We accept donations through these channels:

pay

QQ Group

QQ Group

License

MIT © Harvey Zhao

Ähnliche Repositories
mifi/lossless-cut

The swiss army knife of lossless video/audio editing

TypeScriptnpmGNU General Public License v2.0videoeditor
losslesscut.app
42.3k2.1k
videojs/video.js

Video.js - open source HTML5 video player

JavaScriptnpmOthervideoplayer
videojs.com
39.8k7.5k
bilibili/ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.

CGNU General Public License v2.0ijkplayerandroid
33.2k8.2k
qier222/YesPlayMusic

高颜值的第三方网易云播放器,支持 Windows / macOS / Linux :electron:

VueMIT Licensevuevuex
music.qier222.com
33.1k4.7k
CarGuo/GSYVideoPlayer

Video players (IJKplayer, ExoPlayer, MediaPlayer), HTTPS, 16k page size, danmaku (bullet chat) support, external subtitles, support for filters, watermarks, and GIF screenshots, pre-roll and mid-roll ads, multiple simultaneous playback, basic seeking/dragging, volume and brightness adjustment, play-while-cache support

JavaMavenApache License 2.0androidvideo
21.5k4.3k
open-ani/animeko

集找番、追番、看番的一站式弹幕追番平台,云收藏同步 (Bangumi),离线缓存,BitTorrent,弹幕云过滤。100% Kotlin/Compose Multiplatform

KotlinGNU Affero General Public License v3.0animecompose
animeko.org
19k517
video-dev/hls.js

HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.

TypeScriptnpmOtherhlshtml5
hlsjs.video-dev.org/demo
16.8k2.7k
DIYgod/DPlayer

:lollipop: Wow, such a lovely HTML5 danmaku video player

JavaScriptnpmMIT Licensedplayervideo
dplayer.diygod.dev
16.5k2.5k
Hunlongyu/ZY-Player

▶️ 跨平台桌面端视频资源播放器.简洁无广告.免费高颜值. 🎞

VueMIT Licensevideoelectron
14.5k2.2k
daniulive/SmarterStreaming

业内为数不多致力于极致体验的超强全自研跨平台(windows/linux/android/iOS)流媒体内核,通过模块化自由组合,支持实时RTMP推流、RTSP推流、RTMP播放器、RTSP播放器、录像、多路流媒体转发、音视频导播、动态视频合成、音频混音、直播互动、内置轻量级RTSP服务等,比快更快,业界真正靠谱的超低延迟直播SDK(延迟低至100~200ms)。

JavaMavenrtmp-pusherrtmp-player
daniusdk.com
11.2k2.8k
cookpete/react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion

TypeScriptnpmMIT Licensereactmedia
cookpete.github.io/react-player
10.3k1.2k
bytedance/xgplayer

A HTML5 video player with a parser that saves traffic

JavaScriptnpmMIT Licensemp4mp4box
h5player.bytedance.com
9.3k942