bytedance/xgplayer
bytedance/xgplayer has 9,312 GitHub stars and 945 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-06 13:05 UTC. Last push 2026-11-06.
A HTML5 video player with a parser that saves traffic
Measured star growth
- in 24h
- +1
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
xgplayer
xgplayer provides a flexible, plugin-based media player for web applications. Its UI components, loading strategies, and format integrations can be composed independently.
Installation
npm install xgplayer
Usage
<div id="player"></div>
import Player from 'xgplayer'
import 'xgplayer/dist/index.min.css'
const player = new Player({
id: 'player',
url: 'https://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo.mp4'
})
See the configuration documentation for additional player options.
Plugins
xgplayer provides built-in UI plugins and optional streaming or feature packages. See the plugin documentation for available integrations.
Development
The repository uses Yarn 1.x. Fixture commands start local demos for each format:
yarn
yarn dev:xgplayer
yarn dev:hls
yarn dev:flv
yarn dev:mp4
Release
See the release guideline for stable and prerelease workflows.
License
By using xgplayer, you agree to the following terms:
- xgplayer is licensed under the MIT License.
- You authorize the xgplayer project to display the logo of a business using xgplayer on the project website.
Explore related projects
ytdl-org/youtube-dl
Command-line program to download videos from YouTube.com and other video sites
141,474 starsexcalidraw/excalidraw
Virtual whiteboard for sketching hand-drawn like diagrams
135,243 starsgodotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine
119,656 starsmrdoob/three.js
JavaScript 3D Library.
117,669 stars