Skip to content
pubscout

video_player_android

2.13.0, released today by flutter.dev

Android implementation of the video_player plugin

WASM-readyRock solid
$ flutter pub add video_player_android
Source repository

What it does

Provides the Android-specific platform implementation for the video_player plugin using ExoPlayer. It handles video playback, track selection, and buffer control on Android devices.

AI-written summary of version 2.12.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter app that plays videos on Android using the standard video_player plugin
  • You need to interact directly with the Android video player implementation APIs

Skip it when

  • You are using a completely different video playback engine like media_kit or just_audio
  • You want a cross-platform approach without needing endorsed federated packages

Strengths

  • Automatically included as an endorsed package when using video_player
  • Leverages ExoPlayer for robust video playback on Android

Weaknesses

  • Platform views on Android have known issues when using VideoViewType.platformView
  • Android-specific implementation details apply

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
2

Endorsed package; automatically included when using video_player. Only add to pubspec.yaml if importing and using APIs directly.

import 'package:video_player_android/video_player_android.dart';

Alternatives

Packages that do the same job and could replace video_player_android.

  • media_kit

    Alternative general-purpose media player for Flutter based on libmpv.

Works with

Packages commonly used together with video_player_android: ones it builds on, ones built on it, and its own family.