{"id":13908683,"url":"https://github.com/wangzmgit/vue-wplayer","last_synced_at":"2026-02-01T13:11:10.845Z","repository":{"id":65794937,"uuid":"539530672","full_name":"wangzmgit/vue-wplayer","owner":"wangzmgit","description":"Vue3弹幕播放器，开发交流群：909847398","archived":false,"fork":false,"pushed_at":"2023-10-14T08:08:36.000Z","size":581,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-12T09:18:47.748Z","etag":null,"topics":["player","video","vue"],"latest_commit_sha":null,"homepage":"https://wplayer.interastral-peace.com/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangzmgit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-09-21T14:28:09.000Z","updated_at":"2025-08-21T15:14:31.000Z","dependencies_parsed_at":"2023-10-15T08:26:21.730Z","dependency_job_id":"b7305b30-5caa-4bc9-a74c-4a5464c16702","html_url":"https://github.com/wangzmgit/vue-wplayer","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"ab1f510e95f8b1dcf6c0a11f7dc56d6b5d3a8187"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wangzmgit/vue-wplayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangzmgit%2Fvue-wplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangzmgit%2Fvue-wplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangzmgit%2Fvue-wplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangzmgit%2Fvue-wplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangzmgit","download_url":"https://codeload.github.com/wangzmgit/vue-wplayer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangzmgit%2Fvue-wplayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28978925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T12:13:08.691Z","status":"ssl_error","status_checked_at":"2026-02-01T12:13:08.356Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["player","video","vue"],"created_at":"2024-08-06T23:02:54.955Z","updated_at":"2026-02-01T13:11:10.812Z","avatar_url":"https://github.com/wangzmgit.png","language":"Vue","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# vue-wplayer 弹幕视频播放器\n![NPM](https://img.shields.io/npm/l/vue-wplayer)\n![npm](https://img.shields.io/npm/v/vue-wplayer?logo=npm)\n\n## 文档\n示例: http://wplayer.kuukaa.fun/examples\n\n文档: http://wplayer.kuukaa.fun/guide/quick_start.html\n\n\n## 安装\n```\nnpm install vue-wplayer\n```\n\n## 示例\n```js\n\u003ctemplate\u003e\n  \u003cdiv class=\"container\"\u003e\n    \u003cdiv class=\"player-container\"\u003e\n      \u003cw-player class=\"player\" :options=\"options\"\u003e\u003c/w-player\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript setup lang=\"ts\"\u003e\nimport { WPlayer } from 'vue-wplayer';\n\nconst options = {\n  resource: \"视频链接\",\n}\n\u003c/script\u003e\n\n\u003cstyle\u003e\n.container {\n  width: 720px;\n}\n\n.player-container {\n  height: 0;\n  width: 100%;\n  padding-bottom: 56.25%;\n  position: relative;\n\n}\n\n.player {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  background-color: black;\n}\n\u003c/style\u003e\n```\n\n## 参数\n|内容|类型|描述|默认值|\n|:-----|:-----|:-----|:-----|\n|resource|string 或 不同清晰度信息对象|视频资源|-|\n|type|string|视频类型|'mp4'|\n|blob|bool|mp4是否开启blob|false|\n|mobile|bool|是否为移动端|false|\n|theme|string|主题色|'#4b5cc4'|\n|playbackSpeed|[]| 播放速度|[0.5, 0.75, 1, 1.5, 2]|\n|danmaku.open|bool|是否开启弹幕|false|\n|danmaku.placeholder|string|弹幕输入提示|'在这里输入弹幕哦~'|\n|danmaku.data|[]|弹幕数据|-|\n|danmaku.send|function|发送弹幕回调函数|-|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangzmgit%2Fvue-wplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangzmgit%2Fvue-wplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangzmgit%2Fvue-wplayer/lists"}