{"full_name":"bytedance/xgplayer","owner":"bytedance","name":"xgplayer","shard":"1","url":"https://github.com/bytedance/xgplayer","description":"A HTML5 video player with a parser that saves traffic","homepage":"https://h5player.bytedance.com/","topics":["mp4","mp4box","fmp4","hls-player","flv-parser","dash","video-player","hls","flv","video","player","videoplayer","html5-video","html5-video-player"],"tag_pages":["dash","flv","hls","mp4","player","video","video-player"],"language":"JavaScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/4158466?v=4","created_at":"2018-05-16T12:01:55Z","pushed_at":"2026-11-11T05:28:40Z","metrics":{"stars":9310,"forks":948,"watchers":116,"issues":1184,"prs":735,"releases":29,"issues_open":24,"issues_closed":1160,"prs_open":12,"prs_closed":98,"prs_merged":625,"discussions":41},"growth":{"day":{"stars":0,"forks":1,"base_day":"2026-11-15"},"week":{"stars":1,"forks":3,"base_day":"2026-11-04"},"month":{"stars":5,"forks":2,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9288,9288,9288,9288,9287,9289,9291,9293,9292,9293,9293,9294,9297,9297,9298,9298,9297,9299,9299,9300,9300,9299,9299,9300,9302,9301,9304,9303,9303,9303,9303,9304,9305,9306,9306,9306,9308,9307,9308,9308,9305,9305,9304,9304,9305,9307,9307,9306,9305,9304,9305,9305,9305,9305,9305,9307,9309,9309,9309,9309,9310,9311,9310,9310,9310,9310,9310],"forks":[944,944,944,944,943,943,943,943,943,943,941,941,941,940,941,941,941,941,940,940,941,941,941,941,941,941,941,942,942,942,942,942,943,943,944,943,943,943,943,943,943,946,945,945,945,945,945,945,945,945,944,944,944,944,944,945,945,945,945,945,946,946,946,946,946,947,948],"watchers":[123,123,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,123,123,123,123,123,123,123,123,123,123,123,123,123,122,121,116,116,116,116,116,116,116,116,116,116,116,null,116,116,116,116,116,116],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,24,24,24,24,24,24],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,12,12,12,12,12,12]},"boards":{},"same_owner":[{"full_name":"bytedance/deer-flow","name":"deer-flow","shard":"1","boards":{"total":200}},{"full_name":"bytedance/Dolphin","name":"Dolphin","shard":"1","boards":{}},{"full_name":"bytedance/IconPark","name":"IconPark","shard":"1","boards":{}},{"full_name":"bytedance/UI-TARS","name":"UI-TARS","shard":"1","boards":{}},{"full_name":"bytedance/UI-TARS-desktop","name":"UI-TARS-desktop","shard":"1","boards":{}},{"full_name":"bytedance/monolith","name":"monolith","shard":"1","boards":{}},{"full_name":"bytedance/sonic","name":"sonic","shard":"1","boards":{}},{"full_name":"bytedance/trae-agent","name":"trae-agent","shard":"1","boards":{}}],"issues":[{"number":1965,"title":"ios safari浏览器存在重复拉取第一个视频流ts的情况","comments":4,"created_at":"2026-10-20T09:35:34Z"},{"number":1810,"title":"vue环境设置\"fluid\": true直播正常显示，uniapp环境下\"fluid\": true直播无法显示","comments":4,"created_at":"2025-07-25T03:03:42Z"},{"number":1873,"title":"ios系统视频播放错误时，页面黑屏显示只在页面中间显示了一个不能播放的图标","comments":3,"created_at":"2025-12-15T02:49:51Z"},{"number":1845,"title":"西瓜播放器在模仿mkv格式的资源时，如何读取视频内的音轨和字幕资源？","comments":3,"created_at":"2025-10-11T09:56:30Z"},{"number":1820,"title":"ios 移动模式 cssfullscreen 时，必须双击暂停，才可以操作控制栏","comments":3,"created_at":"2025-08-17T07:35:50Z"},{"number":1938,"title":"iOS系统17及以下版本播放m3u8的hls格式视频后频繁点击暂停播放后突然出现重新开始的视频声音，但没有画面","comments":2,"created_at":"2026-08-19T12:10:30Z"},{"number":1871,"title":"是否有计划支持ws://*.mp4播放","comments":2,"created_at":"2025-12-09T09:18:57Z"},{"number":1869,"title":"iOS26在使用xgplayer-hls.js插件后 无法显示投屏(airplay)按钮 不添加插件是可以的","comments":2,"created_at":"2025-12-04T02:57:30Z"}],"discussions":[{"number":1803,"title":"Will you be using typescript ?","comments":1,"category":"Q&A","created_at":"2025-07-17T05:55:13Z"},{"number":1722,"title":"v3版本如何自定义样式?","comments":0,"category":"General","created_at":"2025-03-08T08:08:13Z"},{"number":1617,"title":"How to understand the relationship between xgplayer-transmuxer and xgplayer-mp4-loader","comments":0,"category":"Q&A","created_at":"2024-09-24T03:01:50Z"},{"number":1610,"title":"Can xgplayer-mp4-loader isFragmentMP4 split into isFragmentMP4 + hasSegmentIndex?","comments":0,"category":"General","created_at":"2024-09-15T05:41:48Z"},{"number":1589,"title":"是否有min.js精简引入？","comments":0,"category":"General","created_at":"2024-08-29T06:00:48Z"},{"number":1558,"title":"在播放器中使用清晰度按钮  流可以正常切换 但是按钮的中文不变  flv的直播流","comments":1,"category":"Q&A","created_at":"2024-08-08T10:00:18Z"},{"number":1539,"title":"你好，开发者可以不可以增加一个互斥功能呢，这个比较有用。","comments":0,"category":"Ideas","created_at":"2024-07-23T09:26:35Z"},{"number":1395,"title":"在react中怎么使用事件操作","comments":0,"category":"Q&A","created_at":"2024-04-20T03:19:17Z"}],"latest_release":{"name":"v3.0.27","tag":"v3.0.27","published_at":"2026-10-29T03:30:44Z","body":"## [3.0.27](https://github.com/bytedance/xgplayer/compare/v3.0.26...v3.0.27) (2026-10-28)\n\n### Features\n\n- **mp3:** Add standalone MP3 MSE playback with Range seek and native fallback. ([65f8649](https://github.com/bytedance/xgplayer/commit/65f86494c60872332e150c731925c06f456a2478))\n- **mp4:** xgplayer-mp4 can now play on MSE/ManagedMediaSource (iOS 17.1+) via `preferMMS`, instead of always degrading to native video. ([322888e](https://github.com/bytedance/xgplayer/commit/322888e52ce2f5867468b903c3534702016621e7)), closes [#1932](https://github.com/bytedance/xgplayer/issues/1932)\n- range请求，增加 数据范围是否匹配检测 ([03a109c](https://github.com/bytedance/xgplayer/commit/03a109c95eaa456cf23c0b6c0c167dfc22c7fb26))\n- support dynamic-timeout timeoutRatio, xhr fix endless request because of unpected net response ([2c89a2c](https://github.com/bytedance/xgplayer/commit/2c89a2c35cee4f69e5331e3a3cb149ce530c80d4))\n- 优化range请求时，返回200状态码问题 ([e43c93b](https://github.com/bytedance/xgplayer/commit/e43c93b458c5909f678beaf0e3de72fc81db289d))\n\n### Bug Fixes\n\n- **dash:** parse MPD durations with any combination of H, M and S ([f9c8ad2](https://github.com/bytedance/xgplayer/commit/f9c8ad2ef106b3e46c69e176b24c9d78a450bdff))\n- **hls:** preserve playlist path for query-only URIs ([5af9e7d](https://github.com/bytedance/xgplayer/commit/5af9e7d7c98b76f33b35a9c8e7b729664923862b))\n- **hls:** Prevent fixture values from being interpreted as HTML. ([202d5f6](https://github.com/bytedance/xgplayer/commit/202d5f6a01569278346fbd81e129768f501cdd52))\n- **monorepo:** Harden cast lifecycle handling and TypeScript buffer compatibility. ([2f135fc](https://github.com/bytedance/xgplayer/commit/2f135fc492e0adf3ece53babb043edf3804d7b21))\n- **monorepo:** Include package changelogs in npm distributions. ([87cf0de](https://github.com/bytedance/xgplayer/commit/87cf0ded4749631e650dc8517c6bff38557d5e36))\n- **monorepo:** Keep package changelogs and published archives consistent across tag-driven releases. ([6af6c83](https://github.com/bytedance/xgplayer/commit/6af6c83b3d90e43a241fe06142b0562646008430))\n- **monorepo:** Reject outdated release tags before generating package metadata. ([f3d83ce](https://github.com/bytedance/xgplayer/commit/f3d83ceadac289788a4482ef44b3d88e4310988e))\n- **mp4:** Fix fragmented MP4 playback, source switching, buffer eviction, and stall recovery in xgplayer-mp4. ([3c417a5](https://github.com/bytedance/xgplayer/commit/3c417a580e1204631bf426823270a205abfd08a6)), closes [#1875](https://github.com/bytedance/xgplayer/issues/1875) [#1911](https://github.com/bytedance/xgplayer/issues/1911) [#1932](https://github.com/bytedance/xgplayer/issues/1932) [#1935](https://github.com/bytedance/xgplayer/issues/1935)\n- **transmuxer:** accept minimum 4-byte UTF-8 sequence U+10000 ([ea781cd](https://github.com/bytedance/xgplayer/commit/ea781cdee035873ad43a802c4ee23ad65d7d937f))\n- **transmuxer:** Avoid emitting zero-duration video samples for PES data without timestamps. ([65b6a0e](https://github.com/bytedance/xgplayer/commit/65b6a0ec223e3a92d55c4453df419197806967d4))\n- **transmuxer:** Fix HEVC decode failures across implicit stream discontinuities. ([d72119a](https://github.com/bytedance/xgplayer/commit/d72119a14514711b5cf4ea35a33e2a6fcc53a4fc))\n- **transmuxer:** Keep video samples after timestamp recovery. ([4aabb65](https://github.com/bytedance/xgplayer/commit/4aabb65d5d3ef5cf695b035b2c8d388c3edea8c5))\n- **xgplayer-mp3:** Add MP3 range-loading playback support with safer teardown and native fallback behavior. ([613c02b](https://github.com/bytedance/xgplayer/commit/613c02bfae983092d52e7d660e20dd385d3a02c1))\n- **xgplayer-mp3:** Fix MP3 completion, backward seeking, source preprocessing, native fallback state, and VBR seek metadata. ([fe8049c](https://github.com/bytedance/xgplayer/commit/fe8049cd1bc31dc4b87d4d009689c2740576b7f8))\n- **xgplayer-mp3:** Fix MP3 range loading, seeking, duration correction, and playNext lifecycle edge cases. ([df01285](https://github.com/bytedance/xgplayer/","is_prerelease":false},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}