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

Native video and audio on every platform you ship to.

Playback runs on each operating system's own media stack, so a single control covers macOS, Windows, Linux, iOS and Android with a transport UI you can restyle or replace.

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.

Add the package, drop the control into your view, and bind it. There is no renderer to configure and no per-platform code to write.

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

Pro features

Media Player is included with Pro.

One subscription carries all six premium components, 70+ chart types and the advanced tooling. Nothing on this page is a separate purchase.

FAQ

Your questions,
answered.

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

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

Try Media Player free for 30 days and bring reliable playback to your own app. Robust controls and consistent performance, on every platform Avalonia supports.