{"id":13907249,"url":"https://github.com/eneim/kohii","last_synced_at":"2026-02-06T16:38:23.471Z","repository":{"id":32834668,"uuid":"138487627","full_name":"eneim/kohii","owner":"eneim","description":"Android Video Playback made easy.","archived":false,"fork":false,"pushed_at":"2024-06-02T06:35:24.000Z","size":41551,"stargazers_count":385,"open_issues_count":54,"forks_count":53,"subscribers_count":21,"default_branch":"dev-v1","last_synced_at":"2025-07-18T07:38:52.986Z","etag":null,"topics":["android","auto","exoplayer","mediaplayer","playback","recyclerview","scrollview"],"latest_commit_sha":null,"homepage":"https://eneim.github.io/kohii/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eneim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"eneim","ko_fi":"eneimlabs"}},"created_at":"2018-06-24T14:15:03.000Z","updated_at":"2025-07-17T09:17:51.000Z","dependencies_parsed_at":"2024-01-19T10:18:13.872Z","dependency_job_id":"ef8f3ce5-ccb1-44cb-a302-6031069e1374","html_url":"https://github.com/eneim/kohii","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/eneim/kohii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneim%2Fkohii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneim%2Fkohii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneim%2Fkohii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneim%2Fkohii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eneim","download_url":"https://codeload.github.com/eneim/kohii/tar.gz/refs/heads/dev-v1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneim%2Fkohii/sbom","scorecard":{"id":376985,"data":{"date":"2025-08-11","repo":{"name":"github.com/eneim/kohii","commit":"79f5ec327e3db627d88b089931b63d1e28e4e2ee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy_snapshot.yml:1","Warn: no topLevel permission defined: .github/workflows/pull_request.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.4.0.2017001 not signed: https://api.github.com/repos/eneim/kohii/releases/78041469","Warn: release artifact v1.2.0.2011008 not signed: https://api.github.com/repos/eneim/kohii/releases/37112503","Warn: release artifact v1.1.1.2011003 not signed: https://api.github.com/repos/eneim/kohii/releases/28695305","Warn: release artifact v1.1.0.2011003 not signed: https://api.github.com/repos/eneim/kohii/releases/28000172","Warn: release artifact v1.0.0.2010004 not signed: https://api.github.com/repos/eneim/kohii/releases/24524650","Warn: release artifact v1.4.0.2017001 does not have provenance: https://api.github.com/repos/eneim/kohii/releases/78041469","Warn: release artifact v1.2.0.2011008 does not have provenance: https://api.github.com/repos/eneim/kohii/releases/37112503","Warn: release artifact v1.1.1.2011003 does not have provenance: https://api.github.com/repos/eneim/kohii/releases/28695305","Warn: release artifact v1.1.0.2011003 does not have provenance: https://api.github.com/repos/eneim/kohii/releases/28000172","Warn: release artifact v1.0.0.2010004 does not have provenance: https://api.github.com/repos/eneim/kohii/releases/24524650"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy_snapshot.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/deploy_snapshot.yml/dev-v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy_snapshot.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/deploy_snapshot.yml/dev-v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy_snapshot.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/deploy_snapshot.yml/dev-v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy_snapshot.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/deploy_snapshot.yml/dev-v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/pull_request.yml/dev-v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pull_request.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/pull_request.yml/dev-v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/pull_request.yml/dev-v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/eneim/kohii/pull_request.yml/dev-v1?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'dev-v1'","Warn: branch protection not enabled for branch 'release/v1.4.0.2017001'","Warn: branch protection not enabled for branch 'release/v1.2.0.2011008'","Warn: branch protection not enabled for branch 'release/v1.1.0.2011003'"],"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 7 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-18T14:29:22.144Z","repository_id":32834668,"created_at":"2025-08-18T14:29:22.144Z","updated_at":"2025-08-18T14:29:22.144Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29168848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["android","auto","exoplayer","mediaplayer","playback","recyclerview","scrollview"],"created_at":"2024-08-06T23:01:51.014Z","updated_at":"2026-02-06T16:38:23.451Z","avatar_url":"https://github.com/eneim.png","language":"Kotlin","funding_links":["https://github.com/sponsors/eneim","https://ko-fi.com/eneimlabs"],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# Kohii\n\n## kohii (コーヒー、[[ko̞ːçiː]](https://en.wiktionary.org/wiki/%E3%82%B3%E3%83%BC%E3%83%92%E3%83%BC))\n\n\u003cimg src=\"art/kohii.png?raw=true\" alt=\"Kohii\" width=\"384\"\u003e\n\nVideo playback for Android made easy.\n\n\u003c!-- [![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/im.ene.kohii/kohii-core.svg)](https://oss.sonatype.org/content/repositories/snapshots/im/ene/kohii/kohii-core/) --\u003e\n![Maven Central](https://img.shields.io/maven-central/v/im.ene.kohii/kohii-core)\n[![](https://yourdonation.rocks/images/badge.svg)](https://github.com/sponsors/eneim)\n\n**Kohii** is a powerful, easy to use and extensible Video playback library. **Kohii** provides\npowerful features out of the box, including\n\n1. Easy to start: just one line to start a Video playback.\n2. Automatic playback experience on RecyclerView, NestedScrollView, ViewPager2, etc.\n3. Configuration change handling works out of the box, including the transition from local playback\n   to fullscreen playback and vice versa.\n4. Feature-rich sample app that covers either simple or advance use cases.\n5. Extension-based structure, including default implementations that support ExoPlayer, AndroidX\n   Media2, YouTube Player SDK.\n\n## Demo\n\n|Automatic playback|Playback continuity (Seamless fullscreen)|\n| :--- | :--- |\n|\u003cimg src=\"./art/kohii_demo_2.gif\" width=\"216\" height=\"468\"/\u003e|\u003cimg src=\"./art/kohii_demo_3.gif\" width=\"468\" height=\"468\"/\u003e|\n\n## Setup\n\nAdd to your module's build.gradle dependencies\n\n```groovy\n// Update top level build.gradle\nallprojects {\n  repositories {\n    mavenCentral()\n  }\n}\n```\n\n```groovy\n// Add these to app level build.gradle (or to module that will use Kohii)\nimplementation \"im.ene.kohii:kohii-core:1.4.0.2017001\" // core library\nimplementation \"im.ene.kohii:kohii-exoplayer:1.4.0.2017001\" // default support for ExoPlayer\nimplementation \"com.google.android.exoplayer:exoplayer:2.17.1\" // required ExoPlayer implementation.\n```\n\nKohii uses Kotlin language with some Java 8 features so you will need to include the following\noptions to your module's build.gradle:\n\n```groovy\nandroid {\n  compileOptions {\n    sourceCompatibility JavaVersion.VERSION_1_8\n    targetCompatibility JavaVersion.VERSION_1_8\n  }\n\n  kotlinOptions {\n    jvmTarget = \"1.8\"\n  }\n}\n```\n\n## Start a playback\n\n```Kotlin tab=\n// Kotlin\n// 1. Initialization in Fragment or Activity\nval kohii = Kohii[this@Fragment]\nkohii.register(this /* Fragment or Activity */).addBucket(this.recyclerView)\n\n// 2. In ViewHolder or Adapter: bind the video to the PlayerView inside a child of the RecyclerView.\nkohii.setUp(videoUrl).bind(playerView)\n```\n\n```Java tab=\n// Java\n// 1. Initialization in Fragment or Activity\nKohii kohii = Kohii.get(this);\nkohii.register(this).addBucket(this.recyclerView);\n\n// 2. In ViewHolder or Adapter: bind the video to the PlayerView inside a child of the RecyclerView.\nkohii.setUp(videoUrl).bind(playerView);\n```\n\n## Requirements\n\n**Kohii** works on Android 4.4+ (API level 19+) and on Java 8+. It is recommended to use Kohii using\nKotlin.\n\nThe core library doesn't come with any actual playback logic. Actual implementation comes with\nextension libraries. The extensions require corresponding 3rd libraries: ``kohii-exoplayer`` will\nrequires ``exoplayer``, ``kohii-androidx`` will requires ``androidx.media2``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feneim%2Fkohii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feneim%2Fkohii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feneim%2Fkohii/lists"}