[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7509":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":17,"lastSyncTime":33,"discoverSource":34},7509,"ExoMedia","brianwernick\u002FExoMedia","brianwernick","An Android ExoPlayer wrapper to simplify Audio and Video implementations",null,"Kotlin",2169,378,77,21,0,1,2,29.74,"Apache License 2.0",false,"master",true,[24,25,26,27,28,29],"android","android-mediaplayer","audioplayer","exoplayer","mediaplayer","videoview","2026-06-12 02:01:40","![Maven Central](https:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Fcom.devbrackets.android\u002Fexomedia)\n\nExoMedia\n============\nExoMedia is an audio\u002Fvideo 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  \u002F\u002F See MavenCentral or the tag at the beginning of the Readme for the latest version\n  implementation 'com.devbrackets.android:exomedia:x.x.x'\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:\u002F\u002Fschemas.android.com\u002Fapk\u002Fres\u002Fandroid\"\n  android:layout_width=\"match_parent\"\n  android:layout_height=\"match_parent\">\n\n\t\u003Ccom.devbrackets.android.exomedia.ui.widget.VideoView\n\t\tandroid:id=\"@+id\u002Fvideo_view\"\n\t\tandroid:layout_width=\"match_parent\"\n\t\tandroid:layout_height=\"match_parent\" \u002F>\n\u003C\u002FRelativeLayout>\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  \u002F\u002F Make sure to use the correct VideoView import\n  videoView = findViewById(R.id.video_view) as VideoView\n  videoView.setOnPreparedListener(this)\n\n  \u002F\u002F For now we just picked an arbitrary item to play\n  videoView.setMedia(Uri.parse(\"https:\u002F\u002Fwww.devbrackets.com\u002Fmedia\u002Fsamples\u002Fvideo\u002Fbig_buck_bunny.mp4\"))\n}\n\n@Override\nfun onPrepared() {\n  \u002F\u002FStarts the video playback as soon as it is ready\n  videoView.start()\n}\n```\n\n\nLicense\n-------\n    Copyright 2015-2025 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:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-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:\u002F\u002Fkotlinlang.org\u002F) licensed under [Apache 2.0][Apache 2.0] \n* Uses [AndroidX Media3](https:\u002F\u002Fdeveloper.android.com\u002Fjetpack\u002Fandroidx\u002Freleases\u002Fmedia3) licensed under [Apache 2.0][Apache 2.0]\n* Uses [ConstraintLayout](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fconstraint-layout) licensed under [Apache 2.0][Apache 2.0]\n* Uses [AndroidX AppCompat](https:\u002F\u002Fdeveloper.android.com\u002Fjetpack\u002Fandroidx\u002Freleases\u002Fappcompat) 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:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n [CTS]: https:\u002F\u002Fsource.android.com\u002Fcompatibility\u002Fcts\u002Findex.html\n [Design Icons]: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmaterial-design-icons\n [ExoPlayer]: https:\u002F\u002Fgithub.com\u002Fandroidx\u002Fmedia\n [MavenCentral]: https:\u002F\u002Fsearch.maven.org\u002Fartifact\u002Fcom.devbrackets.android\u002Fexomedia","ExoMedia 是一个基于 Android ExoPlayer 的音频和视频播放库，旨在简化媒体播放的实现。它通过提供简洁的API和集成方式来快速设置，并处理常见的音频和视频播放需求，同时支持更复杂的自定义使用场景。相较于原生的ExoPlayer，ExoMedia抽象了部分高级配置为简单的函数和回调，减少了必需的配置工作量，使得即使是播放简单的音视频文件也变得容易上手。适用于需要在Android应用中快速集成多媒体播放功能而无需深入掌握底层技术细节的开发者。","2026-06-11 03:12:50","top_language"]