Seamless media playback for your apps

Robust media controls, consistent performance and built-in cross-platform support.

Trusted by .NET teams around the world

Features

Powerful features, yet simple to use

Robust playback controls

Play, pause, seek, and control media with a native feel on all devices.

Cross-platform support

Seamlessly support media for macOS, Windows, Linux, iOS and Android without extra effort.

Customizable UI

Easily adjust player UI theming to fit your app's branding.

Setup

Simple installation and implementation

1

Add the MediaPlayer package to your project

dotnet add package Avalonia.Controls.MediaPlayer
2

Add the default theme to your App.axaml

<Application.Styles>
    <FluentTheme/>

    <!-- Add this declaration for the default theme. -->
    <MediaFluentTheme/>
</Application.Styles>
3

Include your Avalonia UI license key in the executable project file .csproj

<ItemGroup>
    <AvaloniaUILicenseKey Include="YOUR_LICENSE_KEY" />
</ItemGroup>

Customer stories

"Avalonia has a very strong community, and frankly is a joy to work with."

Bill Henning

CEO & Founder, Actipro Software

FAQ

Your questions,
answered.

Can't find what you need? We're here to help.

Contact us

No. This component is part of the Avalonia Pro and Enterprise tiers. Activation requires an Avalonia account and a valid Pro or Enterprise licence.

Yes. Each component gives you a ready UI out of the box, but you can build a bespoke interface by using the underlying classes directly and wiring up your own commands and visuals.

Supported formats depend on the underlying platform. Check the component's documentation and the platform's own capability lists for specifics.

Avalonia UI components support Windows, macOS, Linux, iOS, Android, and WebAssembly. Each component uses the native platform back-end for optimal performance and compatibility.

Add media to your apps with ease