랭킹으로 돌아가기

bytedance/xgplayer

JavaScripth5player.bytedance.com

A HTML5 video player with a parser that saves traffic

mp4mp4boxfmp4hls-playerflv-parserdashvideo-playerhlsflvvideoplayervideoplayer
스타 성장
스타
9.3k
포크
942
주간 성장
이슈
23
5k
2018년 5월2021년 1월2023년 10월2026년 7월
아티팩트npmnpm install xgplayer
README

Introduction

xgplayer is a web video player library. It has designed a separate, detachable UI component based on the principle that everything is componentized. More importantly, it is not only flexible in the UI layer, but also bold in its functionality: it gets rid of video loading, buffering, and format support for video dependence. Especially on mp4 it can be staged loading for that does not support streaming mp4. This means seamless switching with clarity, load control, and video savings. It also integrates on-demand and live support for FLV, HLS, and dash. Document

Start

  1. Install

    $ npm install xgplayer
    
  2. Usage

    Step 1:

    <div id="vs"></div>
    

    Step 2:

    import Player from 'xgplayer';
    
    const player = new Player({
        id: 'vs',
        url: 'https://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo.mp4'
    })
    

    This is the easiest way to configure the player, then it runs with video. For more advanced content, see the plug-in section or documentation. more config

Plugins

xgplayer provides more plugins and supports custom plugins, for more content viewing plugins. There are many built-in plugins in the player, if you need to close specific plugins, you can disable them by ignores configuration

Dev

In order to debug by developers, we provide demos code in the fixtures directory of the repo. The player uses yarn for package management, and it only takes a few simple steps to start debugging in the repo

$ cd xgplayer
$ yarn
$ yarn dev:xgplayer

To debug other plugins, please refer to the scripts command provided in package.json in the root directory of the repo, such as:

$ yarn dev:hls
$ yarn dev:flv
$ yarn dev:mp4

Release

For the stable release flow, prerelease flow, and release commands, see Release Guideline.md.

License

Welcome to use xgplayer! Please read the following terms carefully. Using xgplayer means that you accept and agree to the terms.

  1. Xgplayer is licensed under the MIT License. You comply with its obligations by default.
  2. By default, you authorize us to place your logo in xgplayer website, which using xgplayer. If you have any problem, please let us know.
관련 저장소
FFmpeg/FFmpeg

Mirror of https://git.ffmpeg.org/ffmpeg.git

COtherffmpegvideo
ffmpeg.org
62.3k14k
fanmingming/live

✯ 可直连访问的电视/广播图标库与相关工具项目 ✯ 🔕 永久免费 直连访问 完整开源 不断完善的台标 支持IPv4/IPv6双栈访问 🔕

JavaScriptnpmGNU General Public License v3.0radioiptv
live.fanmingming.com
28.3k4.2k
ZLMediaKit/ZLMediaKit

WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT/STUN/TURN server and client framework based on C++11

C++Otherrtsprtmp
docs.zlmediakit.com
17.3k4.1k
Tyrrrz/YoutubeDownloader

Downloads videos and playlists from YouTube

C#MIT Licenseyoutubedownload
github.com/Tyrrrz/YoutubeDownloader/releases
15.7k2k
AlexxIT/go2rtc

Ultimate camera streaming application

GoGo ModulesMIT Licenseffmpeghassio
go2rtc.org
13.5k1.2k
mediaelement/mediaelement

HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

JavaScriptnpmMIT Licensehtml5-audiohtml5-video
mediaelementjs.com
8.3k1.5k
clappr/clappr

An extensible, plugin-oriented, HTML5-first media player for the web

JavaScriptnpmBSD 3-Clause "New" or "Revised" Licensevideoplayer
clappr.io
7.5k859
Vanilagy/mediabunny

Pure TypeScript media toolkit for reading, writing, and converting video and audio files, directly in the browser.

TypeScriptnpmMozilla Public License 2.0audiodecoding
mediabunny.dev
6.7k275
vvo/gifify

😻 Convert any video file to an optimized animated GIF.

JavaScriptnpmISC Licensegifvideo
6.3k312
ssrajadh/sentrysearch

Semantic search over videos using Gemini Embedding 2 or Qwen3-VL.

PythonPyPIApache License 2.0chromadbdashcam
youtu.be/QkYUSlu_G9g
4.4k418
nexu-io/html-video

Programmatic video for coding agents — HTML to video on your laptop. Turn HTML, CSS & data into real MP4s with pluggable render engines, 21 templates, AI soundtrack. Apache-2.0, no per-render fees. An official project by the Open Design team.

HTMLApache License 2.0ai-agentapache-2
open-design.ai/html-video
4.1k511
ireader/media-server

RTSP/RTP/RTMP/FLV/HLS/MPEG-TS/MPEG-PS/MPEG-DASH/MP4/fMP4/MKV/WebM

CMIT Licensertprtmp
3.5k1.2k