[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1264":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":40,"discoverSource":41},1264,"video.js","videojs\u002Fvideo.js","videojs","Video.js - open source HTML5 video player","https:\u002F\u002Fvideojs.com",null,"JavaScript",39789,7500,1247,614,0,2,13,63,11,45,"Other",false,"main",true,[27,28,29,30,31,32,33,34,35,36,7],"dash","hls","html","html5","html5-audio","html5-video","javascript","player","video","video-player","2026-06-12 02:00:25","[![Video.js logo][logo]][vjs]\n\n# Video.js - Web Video Player & Framework\n\n[![NPM][npm-icon]][npm-link]\n\n**Update:** Big changes coming in Video.js 10, early 2026! [Read the discussion.](https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fvideo.js\u002Fdiscussions\u002F9035)\n\nVideo.js is a full featured, open source video player for all web-based platforms.\n\nRight out of the box, Video.js supports all common media formats used on the web including streaming formats like HLS and DASH. It works on desktops, mobile devices, tablets, and web-based Smart TVs. It can be further extended and customized by a robust ecosystem of [plugins][plugins].\n\nVideo.js was started in May 2010 and since then:\n\n* Millions of websites have used VideoJS over time (source [Builtwith][builtwith])\n* Billions of end-users every month of just the CDN-hosted copy (source Fastly stats)\n* 900+ amazing contributors to the video.js core\n* Hundreds of [plugins](https:\u002F\u002Fvideojs.com\u002Fplugins\u002F)\n\n## Table of Contents\n\n* [Quick Start](#quick-start)\n* [Contributing](#contributing)\n* [Code of Conduct](#code-of-conduct)\n* [License](#license)\n* [Sponsorship](#sponsorship)\n\n## [Quick Start][getting-started]\n\nThanks to the awesome folks over at [Fastly][fastly], there's a free, CDN hosted version of Video.js that anyone can use. Add these tags to your document's `\u003Chead>`:\n\n```html\n\u003Clink href=\"\u002F\u002Fvjs.zencdn.net\u002F8.23.8\u002Fvideo-js.min.css\" rel=\"stylesheet\">\n\u003Cscript src=\"\u002F\u002Fvjs.zencdn.net\u002F8.23.8\u002Fvideo.min.js\">\u003C\u002Fscript>\n```\n\nAlternatively, you can include Video.js by getting it from [npm](https:\u002F\u002Fvideojs.com\u002Fgetting-started\u002F#install-via-npm), downloading it from [GitHub releases](https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fvideo.js\u002Freleases) or by including it via [unpkg](https:\u002F\u002Funpkg.com) or another JavaScript CDN, like CDNjs.\n\n```html\n\u003C!-- unpkg : use the latest version of Video.js -->\n\u003Clink href=\"https:\u002F\u002Funpkg.com\u002Fvideo.js\u002Fdist\u002Fvideo-js.min.css\" rel=\"stylesheet\">\n\u003Cscript src=\"https:\u002F\u002Funpkg.com\u002Fvideo.js\u002Fdist\u002Fvideo.min.js\">\u003C\u002Fscript>\n\n\u003C!-- unpkg : use a specific version of Video.js (change the version numbers as necessary) -->\n\u003Clink href=\"https:\u002F\u002Funpkg.com\u002Fvideo.js@8.23.8\u002Fdist\u002Fvideo-js.min.css\" rel=\"stylesheet\">\n\u003Cscript src=\"https:\u002F\u002Funpkg.com\u002Fvideo.js@8.23.8\u002Fdist\u002Fvideo.min.js\">\u003C\u002Fscript>\n\n\u003C!-- cdnjs : use a specific version of Video.js (change the version numbers as necessary) -->\n\u003Clink href=\"https:\u002F\u002Fcdnjs.cloudflare.com\u002Fajax\u002Flibs\u002Fvideo.js\u002F8.23.8\u002Fvideo-js.min.css\" rel=\"stylesheet\">\n\u003Cscript src=\"https:\u002F\u002Fcdnjs.cloudflare.com\u002Fajax\u002Flibs\u002Fvideo.js\u002F8.23.8\u002Fvideo.min.js\">\u003C\u002Fscript>\n```\n\nNext, using Video.js is as simple as creating a `\u003Cvideo>` element, but with an additional `data-setup` attribute. At a minimum, this attribute must have a value of `'{}'`, but it can include any Video.js [options][options] - just make sure it contains valid JSON!\n\n```html\n\u003Cvideo\n    id=\"my-player\"\n    class=\"video-js\"\n    controls\n    preload=\"auto\"\n    poster=\"\u002F\u002Fvjs.zencdn.net\u002Fv\u002Foceans.png\"\n    data-setup='{}'>\n  \u003Csource src=\"\u002F\u002Fvjs.zencdn.net\u002Fv\u002Foceans.mp4\" type=\"video\u002Fmp4\">\u003C\u002Fsource>\n  \u003Csource src=\"\u002F\u002Fvjs.zencdn.net\u002Fv\u002Foceans.webm\" type=\"video\u002Fwebm\">\u003C\u002Fsource>\n  \u003Csource src=\"\u002F\u002Fvjs.zencdn.net\u002Fv\u002Foceans.ogv\" type=\"video\u002Fogg\">\u003C\u002Fsource>\n  \u003Cp class=\"vjs-no-js\">\n    To view this video please enable JavaScript, and consider upgrading to a\n    web browser that\n    \u003Ca href=\"https:\u002F\u002Fvideojs.com\u002Fhtml5-video-support\u002F\" target=\"_blank\">\n      supports HTML5 video\n    \u003C\u002Fa>\n  \u003C\u002Fp>\n\u003C\u002Fvideo>\n```\n\nWhen the page loads, Video.js will find this element and automatically setup a player in its place.\n\nIf you don't want to use automatic setup, you can leave off the `data-setup` attribute and initialize a `\u003Cvideo>` element manually using the `videojs` function:\n\n```js\nvar player = videojs('my-player');\n```\n\nThe `videojs` function also accepts an `options` object and a callback to be invoked when the player is ready:\n\n```js\nvar options = {};\n\nvar player = videojs('my-player', options, function onPlayerReady() {\n  videojs.log('Your player is ready!');\n\n  \u002F\u002F In this context, `this` is the player that was created by Video.js.\n  this.play();\n\n  \u002F\u002F How about an event listener?\n  this.on('ended', function() {\n    videojs.log('Awww...over so soon?!');\n  });\n});\n```\n\nIf you're ready to dive in, the [Getting Started][getting-started] page and [documentation][docs] are the best places to go for more information. If you get stuck, head over to our [Slack][slack-link]!\n\n## [Contributing][contributing]\n\nVideo.js is a free and open source library, and we appreciate any help you're willing to give - whether it's fixing bugs, improving documentation, or suggesting new features. Check out the [contributing guide][contributing] for more! Contributions and project decisions are overseen by the\n[Video.js Technical Steering Committee (TSC)](https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fadmin\u002Fblob\u002Fmain\u002FGOVERNANCE.md).\n\nBy submitting a pull request, you agree that your contribution is provided under the\n[Apache 2.0 License](LICENSE) and may be included in future releases. No contributor license agreement (CLA) has ever been required for contributions to Video.js. See the [Developer's Certificate of Origin 1.1\n](https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fadmin\u002Fblob\u002Fmain\u002FCONTRIBUTING.md#developers-certificate-of-origin-11).\n\n## [Code of Conduct][coc]\n\nPlease note that this project is released with a [Contributor Code of Conduct][coc]. By participating in this project you agree to abide by its terms.\n\n## [License][license]\n\nVideo.js is [licensed][license] under the Apache License, Version 2.0. \"Video.js\" is a registered trademark of [Brightcove, Inc][bc].\n\n## Sponsorship\n\nProject development is sponsored by the role of [Corporate Shepherd](https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fadmin\u002Fblob\u002Fmain\u002FGOVERNANCE.md#corporate-shepherd), held by various companies throughout the project history:\n\n* 2010-2012: Zencoder Inc.\n* 2013-2025: [Brightcove Inc.][bc]\n* 2025-present: [Mux Inc.][mux]\n\nVideo.js uses [BrowserStack][browserstack] for compatibility testing.\n\nThe free CDN-hosted copy of the libray is sponsored by [Fastly][fastly].\n\nWebsite hosting is sponsored by [Netlify][netlify]\n\n[bc]: https:\u002F\u002Fwww.brightcove.com\u002F\n\n[browserstack]: https:\u002F\u002Fbrowserstack.com\n\n[builtwith]: https:\u002F\u002Ftrends.builtwith.com\u002Fmedia\u002FVideoJS\n\n[contributing]: https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fadmin\u002Fblob\u002Fmain\u002FCONTRIBUTING.md\n\n[docs]: https:\u002F\u002Fdocs.videojs.com\n\n[fastly]: https:\u002F\u002Fwww.fastly.com\u002F\n\n[getting-started]: https:\u002F\u002Fvideojs.com\u002Fgetting-started\u002F\n\n[license]: LICENSE\n\n[logo]: https:\u002F\u002Fvideojs.com\u002Flogo-white.png\n\n[mux]: https:\u002F\u002Fwww.mux.com\u002F\n\n[netlify]: https:\u002F\u002Fwww.netlify.com\n\n[npm-icon]: https:\u002F\u002Fnodei.co\u002Fnpm\u002Fvideo.js.png?downloads=true&downloadRank=true\n\n[npm-link]: https:\u002F\u002Fnodei.co\u002Fnpm\u002Fvideo.js\u002F\n\n[options]: https:\u002F\u002Fvideojs.com\u002Fguides\u002Foptions\u002F\n\n[plugins]: https:\u002F\u002Fvideojs.com\u002Fplugins\u002F\n\n[slack-link]: https:\u002F\u002Fslack.videojs.com\n\n[vjs]: https:\u002F\u002Fvideojs.com\n\n[coc]: https:\u002F\u002Fgithub.com\u002Fvideojs\u002Fadmin\u002Fblob\u002Fmain\u002FCODE_OF_CONDUCT.md\n","Video.js 是一个开源的HTML5视频播放器。它支持包括HLS和DASH在内的多种网络媒体格式，能够在桌面、移动设备、平板电脑及基于Web的智能电视上流畅运行。其核心功能涵盖广泛的自定义选项与插件扩展能力，允许开发者根据需求调整播放器外观和行为。此外，Video.js拥有活跃的社区支持和丰富的插件生态系统，使得该播放器非常适合需要跨平台兼容性且追求高度可定制化视频播放解决方案的应用场景。","2026-06-11 02:42:42","top_all"]