{"id":15034218,"url":"https://github.com/brianwernick/exomedia","last_synced_at":"2025-05-14T02:04:23.389Z","repository":{"id":28708599,"uuid":"32229221","full_name":"brianwernick/ExoMedia","owner":"brianwernick","description":"An Android ExoPlayer wrapper to simplify Audio and Video implementations","archived":false,"fork":false,"pushed_at":"2025-01-02T18:02:08.000Z","size":3253,"stargazers_count":2149,"open_issues_count":21,"forks_count":382,"subscribers_count":81,"default_branch":"master","last_synced_at":"2025-04-13T00:37:47.668Z","etag":null,"topics":["android","android-mediaplayer","audioplayer","exoplayer","mediaplayer","videoview"],"latest_commit_sha":null,"homepage":null,"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/brianwernick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"publiccode":null,"codemeta":null}},"created_at":"2015-03-14T19:52:36.000Z","updated_at":"2025-04-11T09:27:44.000Z","dependencies_parsed_at":"2023-01-14T09:23:47.976Z","dependency_job_id":"89e3a933-3013-4998-92f0-5aa02ada5cf7","html_url":"https://github.com/brianwernick/ExoMedia","commit_stats":{"total_commits":562,"total_committers":35,"mean_commits":"16.057142857142857","dds":0.6708185053380783,"last_synced_commit":"ad8500e5523b30843223c3b2fa86b41785a75d9f"},"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianwernick%2FExoMedia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianwernick%2FExoMedia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianwernick%2FExoMedia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianwernick%2FExoMedia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianwernick","download_url":"https://codeload.github.com/brianwernick/ExoMedia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052692,"owners_count":22006716,"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","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","android-mediaplayer","audioplayer","exoplayer","mediaplayer","videoview"],"created_at":"2024-09-24T20:24:17.386Z","updated_at":"2025-05-14T02:04:23.349Z","avatar_url":"https://github.com/brianwernick.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Maven Central](https://img.shields.io/maven-central/v/com.devbrackets.android/exomedia)\n\nExoMedia\n============\nExoMedia is an audio/video playback library for Android built on top of the ExoPlayer\nwith straightforward APIs and integrations. This library focuses on quick setup, handling \ncommon audio and video playback needs while also providing extensibility for more custom\nuse cases.\n\nExoMedia vs ExoPlayer\n------\nThe [ExoPlayer][ExoPlayer] is an advanced media player for Android that is highly customizable,\nhowever that comes at the cost of a more complex setup and configuration process. This customizability\nis great when it's needed however can be daunting when you need to play a simple audio or video file.\n\nExoMedia is a more high-level abstraction of media playback that abstracts some of the customizability \nprovided by the [ExoPlayer][ExoPlayer] into simple functions and callbacks, keeping the required \nconfiguration to a minimum. \n\n\nUse\n-------\nThe latest version can be found at [Maven Central][MavenCentral].\n\n```gradle\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'com.devbrackets.android:exomedia:5.2.0'\n}\n```\n\n\nQuick Start\n-------\nThe ExoMedia VideoView can be added in your layout files like any other Android view.\n\n```xml\n\u003cRelativeLayout \n  xmlns:android=\"http://schemas.android.com/apk/res/android\"\n  android:layout_width=\"match_parent\"\n  android:layout_height=\"match_parent\"\u003e\n\n\t\u003ccom.devbrackets.android.exomedia.ui.widget.VideoView\n\t\tandroid:id=\"@+id/video_view\"\n\t\tandroid:layout_width=\"match_parent\"\n\t\tandroid:layout_height=\"match_parent\" /\u003e\n\u003c/RelativeLayout\u003e\n```\n\nWhile in your Activity or Fragment you treat it like a standard Android VideoView\n\n```kotlin\nprivate lateinit var videoView: VideoView\n\nprivate fun setupVideoView() {\n  // Make sure to use the correct VideoView import\n  videoView = findViewById(R.id.video_view) as VideoView\n  videoView.setOnPreparedListener(this)\n\n  // For now we just picked an arbitrary item to play\n  videoView.setMedia(Uri.parse(\"https://www.devbrackets.com/media/samples/video/big_buck_bunny.mp4\"))\n}\n\n@Override\nfun onPrepared() {\n  //Starts the video playback as soon as it is ready\n  videoView.start()\n}\n```\n\n\nLicense\n-------\n    Copyright 2015-2024 ExoMedia Contributors\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\nAttribution\n-----------\n* Uses [Kotlin](https://kotlinlang.org/) licensed under [Apache 2.0][Apache 2.0] \n* Uses [AndroidX Media3](https://developer.android.com/jetpack/androidx/releases/media3) licensed under [Apache 2.0][Apache 2.0]\n* Uses [ConstraintLayout](https://developer.android.com/training/constraint-layout) licensed under [Apache 2.0][Apache 2.0]\n* Uses [AndroidX AppCompat](https://developer.android.com/jetpack/androidx/releases/appcompat) licensed under [Apache 2.0][Apache 2.0]\n* Uses [Material Design icons][Design Icons] licensed under [Apache 2.0][Apache 2.0]\n\n [Apache 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n [CTS]: https://source.android.com/compatibility/cts/index.html\n [Design Icons]: https://github.com/google/material-design-icons\n [ExoPlayer]: https://github.com/androidx/media\n [MavenCentral]: https://search.maven.org/artifact/com.devbrackets.android/exomedia","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianwernick%2Fexomedia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianwernick%2Fexomedia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianwernick%2Fexomedia/lists"}