{"id":15578642,"url":"https://github.com/dblate/larkplayer","last_synced_at":"2025-10-15T19:10:34.212Z","repository":{"id":62292966,"uuid":"116346923","full_name":"dblate/larkplayer","owner":"dblate","description":"🚀 A lightweight \u0026 flexible web player  :)","archived":false,"fork":false,"pushed_at":"2020-04-17T05:42:13.000Z","size":4656,"stargazers_count":101,"open_issues_count":0,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-11T15:46:29.978Z","etag":null,"topics":["html5","html5-video","javascript","larkplayer","player","video","video-player","videojs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dblate.png","metadata":{"files":{"readme":"readme-en.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-05T05:43:37.000Z","updated_at":"2025-09-10T23:00:12.000Z","dependencies_parsed_at":"2022-10-30T04:45:17.465Z","dependency_job_id":null,"html_url":"https://github.com/dblate/larkplayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dblate/larkplayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Flarkplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Flarkplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Flarkplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Flarkplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblate","download_url":"https://codeload.github.com/dblate/larkplayer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblate%2Flarkplayer/sbom","scorecard":{"id":328972,"data":{"date":"2025-08-11","repo":{"name":"github.com/dblate/larkplayer","commit":"9e75a2441baaa39daf96768a98e5d1c82f689fcb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T03:08:11.874Z","repository_id":62292966,"created_at":"2025-08-18T03:08:11.874Z","updated_at":"2025-08-18T03:08:11.874Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279104440,"owners_count":26104510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["html5","html5-video","javascript","larkplayer","player","video","video-player","videojs"],"created_at":"2024-10-02T19:12:00.241Z","updated_at":"2025-10-15T19:10:34.197Z","avatar_url":"https://github.com/dblate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"left\"\u003elarkplayer\u003c/h1\u003e\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/larkplayer\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/larkplayer.svg?style=flat-square\" alt=\"NPM version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/larkplayer\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/larkplayer.svg?style=flat-square\" alt=\"Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/larkplayer\"\u003e\u003cimg src=\"https://img.shields.io/github/license/dblate/larkplayer.svg?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e\n    English | \u003ca href=\"https://github.com/dblate/larkplayer\"\u003e中文\u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\nlarkplayer is a light and flexible web player\n\n* Lightweight, uglify + gzip \u003c 12kb\n* Solve most compatibility issues, such as full screen, mobile inline playback, etc\n* Provide an event mechanism to proxy native events and allow custom events\n* Provide plugin mechanism to support multiple plugin types\n* Pure javascript, no specific framework dependencies\n\nWe separate many functions into [plugins](./docs/plugins/plugin-list), also you can [build your own plugin](./docs/plugins)\n\nCheck out [live examples](./examples)\n\n## Download\n\nNPM\n```\nnpm install larkplayer\n```\n\nCDN\n```\n\u003cscript src=\"https://unpkg.com/larkplayer@latest/dist/larkplayer.js\"\u003e\u003c/script\u003e\n```\n\n## Quick Start\n\n#### Via script\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003ctitle\u003elarkplayer quick start\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cvideo id=\"my-video\" src=\"https://baikebcs.bdimg.com/baike-other/big-buck-bunny.mp4\" width=\"400\" height=\"300\" controls\u003e\n       Please upgrade or replace your browser to support html5 video \n    \u003c/video\u003e\n \n    \u003cscript type=\"text/javascript\" src=\"https://unpkg.com/larkplayer@latest/dist/larkplayer.js\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/javascript\"\u003e\n        var player = larkplayer('my-video', {\n            width: 640,\n            height: 360\n        }, function () {\n            console.log('player is ready');\n        });\n\n        player.on('firstplay', function () {\n            console.log('firstplay');\n        });\n\n        // support all the standard events\n        player.on('play', function () {\n            console.log('play');\n        });\n        player.on('ended', function () {\n            console.log('ended');\n            player.src('http://www.w3school.com.cn/i/movie.ogg');\n            player.play();\n        });\n    \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n#### Via npm \u0026 es6\n\n\n```javascript\nimport larkplayer from 'larkplayer';\n\nconst player = larkplayer('video-el');\n\n```\n\n## Document\n\n\n* [Design](./docs/design.md)\n* [Plugin writing example](./docs/plugin)\n\n__API__\n\n* [Player](./docs/api/player.md)\n* [Events](./docs/api/events.md)\n* [DOM](./docs/api/dom.md)\n\n\n## Change Log\n[CHANGELOG](./CHANGELOG.md)\n\n## License\nlarkplayer is [MIT licensed](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblate%2Flarkplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblate%2Flarkplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblate%2Flarkplayer/lists"}