![]() |
VOOZH | about |
Requires NuGet 2.14 or higher.
dotnet add package Xam.Plugins.Android.ExoPlayer --version 2.19.1
NuGet\Install-Package Xam.Plugins.Android.ExoPlayer -Version 2.19.1
<PackageReference Include="Xam.Plugins.Android.ExoPlayer" Version="2.19.1" />
<PackageVersion Include="Xam.Plugins.Android.ExoPlayer" Version="2.19.1" />Directory.Packages.props
<PackageReference Include="Xam.Plugins.Android.ExoPlayer" />Project file
paket add Xam.Plugins.Android.ExoPlayer --version 2.19.1
#r "nuget: Xam.Plugins.Android.ExoPlayer, 2.19.1"
#:package Xam.Plugins.Android.ExoPlayer@2.19.1
#addin nuget:?package=Xam.Plugins.Android.ExoPlayer&version=2.19.1Install as a Cake Addin
#tool nuget:?package=Xam.Plugins.Android.ExoPlayer&version=2.19.1Install as a Cake Tool
๐ license
๐ Build status
๐ NuGet
๐ NuGet Pre Release
๐ GitHub tag
๐ MyGet
Xamarin bindings library for the Google ExoPlayer library.
ExoPlayer is an application level media player for Android. It provides an alternative to Androidโs MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports features not currently supported by Androidโs MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can be updated through Play Store application updates.
The ExoPlayer plugin is available on Nuget.
var HttpDataSourceFactory = new DefaultHttpDataSource.Factory().SetAllowCrossProtocolRedirects(true);
var MainDataSource = new ProgressiveMediaSource.Factory(HttpDataSourceFactory);
var Exoplayer = new IExoPlayer.Builder(Context).SetMediaSourceFactory(MainDataSource).Build();
MediaItem mediaItem = MediaItem.FromUri(Android.Net.Uri.Parse("https://ia800806.us.archive.org/15/items/Mp3Playlist_555/AaronNeville-CrazyLove.mp3"));
Exoplayer.AddMediaItem(mediaItem);
Exoplayer.Prepare();
Exoplayer.PlayWhenReady = true;
See the Exoplayer.Droid sample app for further details.
IMPORTANT: Exoplayer 2.9.0 and up requires Visual Studio 2019 with R8 and D8. You also need to enable AAPT2. Readmore at: https://devblogs.microsoft.com/xamarin/androids-d8-dexer-and-r8-shrinker/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-android33.0 net6.0-android33.0 is compatible. net7.0-android net7.0-android was computed. net7.0-android33.0 net7.0-android33.0 is compatible. net8.0-android net8.0-android was computed. net9.0-android net9.0-android was computed. net10.0-android net10.0-android was computed. |
Showing the top 5 NuGet packages that depend on Xam.Plugins.Android.ExoPlayer:
| Package | Downloads |
|---|---|
|
Plugin.MediaManager
Cross platform .NET Xamarin plugin to play and control Audio and Video |
|
|
Ziggeo.XamarinSDK.Netstandard
Ziggeo API (https://ziggeo.com) allows you to integrate video recording and playback with only several lines of code in your app. |
|
|
Plugin.MediaManager.ExoPlayer
ExoPlayer supports more advanced video and audio playback. This is based on the MediaManager plugin |
|
|
Beezy.AdaptiveCards.Droid.Bindings
Microsoft adaptive card for Xamarin Android |
|
|
Draugas.MediaManager
Cross platform Xamarin plugin to play and control Audio and Video |
Showing the top 3 popular GitHub repositories that depend on Xam.Plugins.Android.ExoPlayer:
| Repository | Stars |
|---|---|
|
Baseflow/XamarinMediaManager
Cross platform Xamarin plugin to play and control Audio and Video
|
|
|
o1298098/Xamarin-CloudMusic
Xamarin.Forms goodlooking UI sample
|
|
|
functionland/fx-files
You want to literally own your files? This is something won't happen on traditional cloud services in a lifetime. And this is something is going to happen in a glance with "Fx Files" app from now on. It is a file manager which stores everything on Fula blockchain network of Bloxes.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.19.1 | 433,788 | 8/28/2023 |
| 2.19.1-xamarin1 | 1,179 | 8/29/2023 |
| 2.18.11 | 59,082 | 2/23/2023 |
| 2.18.10 | 105,408 | 2/16/2023 |
| 2.18.10-xamarin1 | 2,083 | 3/23/2023 |
| 2.18.9 | 2,179 | 2/6/2023 |
| 2.18.9-xamarin.1 | 1,711 | 2/6/2023 |
| 2.18.8 | 10,942 | 12/8/2022 |
| 2.18.7 | 1,020 | 12/7/2022 |
| 2.18.6 | 5,048 | 11/29/2022 |
| 2.18.5 | 1,107 | 11/18/2022 |
| 2.18.4 | 1,040 | 11/15/2022 |
| 2.18.3 | 2,448 | 9/2/2022 |
| 2.16.1 | 2,754 | 9/2/2022 |
| 2.14.6 | 6,452 | 8/29/2022 |
| 2.14.3 | 1,321 | 8/11/2022 |
| 2.14.2 | 1,252 | 8/9/2022 |
| 2.11.8 | 380,064 | 8/10/2020 |
| 2.11.7 | 1,319 | 8/10/2020 |
| 2.11.6 | 17,825 | 6/24/2020 |