All Projects → brianwernick → Exomedia

brianwernick / Exomedia

Licence: apache-2.0
An Android ExoPlayer wrapper to simplify Audio and Video implementations

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Exomedia

KingPlayer
🎬 一个专注于 Android 视频播放器的基础库,无缝切换内核。(IjkPlayer、ExoPlayer、VlcPlayer、MediaPlayer)
Stars: ✭ 35 (-98.19%)
Mutual labels:  exoplayer, mediaplayer, videoview
YetAnotherVideoPlayer
Yet Another Video Player for Andoid
Stars: ✭ 62 (-96.8%)
Mutual labels:  exoplayer, mediaplayer
ti.exoplayer
A native control for playing videos for Titanium. Based on Google ExoPlayer, using Titanium.Media.VideoPlayer API.
Stars: ✭ 17 (-99.12%)
Mutual labels:  exoplayer, mediaplayer
ChatVoicePlayer
An Android library to make the implementation of voice/audio messages' playing easier
Stars: ✭ 157 (-91.9%)
Mutual labels:  mediaplayer, audioplayer
Exoplayerxamarin
Xamarin bindings library for the Google ExoPlayer library
Stars: ✭ 124 (-93.6%)
Mutual labels:  exoplayer, mediaplayer
Kohii
Android Video Playback made easy.
Stars: ✭ 204 (-89.48%)
Mutual labels:  exoplayer, mediaplayer
media
Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
Stars: ✭ 294 (-84.84%)
Mutual labels:  exoplayer, mediaplayer
No Player
Simplified Player wrapper for MediaPlayer and ExoPlayer
Stars: ✭ 182 (-90.61%)
Mutual labels:  exoplayer, mediaplayer
Playerbase
The basic library of Android player will process complex business components. The access is simple。Android播放器基础库,专注于播放视图组件的高复用性和组件间的低耦合,轻松处理复杂业务。
Stars: ✭ 2,814 (+45.13%)
Mutual labels:  exoplayer, mediaplayer
MQPlayer
Android video player based on FFmpeg and Exoplayer
Stars: ✭ 20 (-98.97%)
Mutual labels:  exoplayer, mediaplayer
Magicalexoplayer
The Easiest Way To Play/Stream Video And Audio Using Google ExoPlayer In Your Android Application
Stars: ✭ 171 (-91.18%)
Mutual labels:  exoplayer, mediaplayer
Exoplayer
An extensible media player for Android
Stars: ✭ 18,648 (+861.73%)
Mutual labels:  exoplayer, mediaplayer
CommenPlayer
CommenPlayer ——Video player, Support ijkPlayer, Vlc, MediaPlayer, ExoPlayer; 视频播放器,支持ijkPlayer,Vlc,MediaPlayer,ExoPlayer
Stars: ✭ 81 (-95.82%)
Mutual labels:  exoplayer, mediaplayer
HAudioPlayer
AVPlayer再封装,实现类网易云音乐播放动画效果
Stars: ✭ 15 (-99.23%)
Mutual labels:  mediaplayer, audioplayer
Dkvideoplayer
Android Video Player. 安卓视频播放器,封装MediaPlayer、ExoPlayer、IjkPlayer。模仿抖音并实现预加载,列表播放,悬浮播放,广告播放,弹幕
Stars: ✭ 3,796 (+95.77%)
Mutual labels:  exoplayer, mediaplayer
Xamarinmediamanager
Cross platform Xamarin plugin to play and control Audio and Video
Stars: ✭ 647 (-66.63%)
Mutual labels:  exoplayer, mediaplayer
React Native Jw Media Player
React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
Stars: ✭ 76 (-96.08%)
Mutual labels:  mediaplayer
Skin.refocus
reFocus, a skin for Kodi
Stars: ✭ 72 (-96.29%)
Mutual labels:  mediaplayer
Exoplayer 2 Example
Android example apps
Stars: ✭ 70 (-96.39%)
Mutual labels:  exoplayer
Yjplay
一个支持自定义UI布局,流式API, 加密,直播 ,亮度,音量,快进等手势 ,广告视频预览,多种加载模式 ,多种分辨率切换 ,多种封面图, 自定义数据源,列表播放,倍数播放,边播变缓存<font color="red">不是使用AndroidVideoCache</font>,离线播放,神奇的播放器
Stars: ✭ 1,700 (-12.33%)
Mutual labels:  exoplayer

ExoMedia

ExoMedia is a media playback library with similar APIs to the Android MediaPlayer and VideoView that uses the ExoPlayer as a backing when possible, otherwise the default Android MediaPlayer and VideoView are used.

The ExoPlayer is only supported on devices that pass the compatibility Test Suite and that are JellyBean (API 16) or greater. The ExoPlayer provides additional support for streaming (HLS, DASH, etc.) and full HD (1080p +)

Website And Documentation

The ExoMedia website can be found here
The ExoMedia documentation website can be found on the website linked above or here

Use

The latest AAR (Android Archive) files can be downloaded from JCenter
Or included in your gradle dependencies

repositories {
    jcenter()
}

dependencies {
    implementation 'com.devbrackets.android:exomedia:5.0.0'
}

Example

The ExoMedia VideoView can be added in your layout files like any other Android view.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:app="http://schemas.android.com/apk/res-auto"
                android:layout_width="match_parent"
                android:layout_height="match_parent">

	<com.devbrackets.android.exomedia.ui.widget.VideoView
		android:id="@+id/video_view"
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		app:useDefaultControls="true"/>
		
</RelativeLayout>

While in your Activity or Fragment you treat it like a standard Android VideoView

private VideoView videoView;

private void setupVideoView() {
	// Make sure to use the correct VideoView import
	videoView = (VideoView)findViewById(R.id.video_view);
	videoView.setOnPreparedListener(this);

    //For now we just picked an arbitrary item to play
    videoView.setVideoURI(Uri.parse("https://archive.org/download/Popeye_forPresident/Popeye_forPresident_512kb.mp4"));
}

@Override
public void onPrepared() {
	//Starts the video playback as soon as it is ready
	videoView.start();
}

License

Copyright 2015-2021 ExoMedia Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Attribution

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].