appinio_video_player 1.3.0 copy "appinio_video_player: ^1.3.0" to clipboard
appinio_video_player: ^1.3.0 copied to clipboard

A custom video player that builds on top of the official video_player package by flutter and adds many functionalities.

Custom Video Player #

This package wraps the official video_player package by flutter and extends it with a fully customisable control bar, a fullscreen mode and adjustable video settings. For every control in this video player you can decide if you want to show it and if so how it should look.

Top Features #

  • [ NEW ] Change voluming with swiping on right side of screen.
  • [ NEW ] Mute/Unmute video
  • [ NEW ] Hide Picture in Picture Mode on Web
  • [ NEW ] Cache Network Video
  • Seek forward and backward
  • Fullscreen Mode
  • Native controls and fullscreen for web apps
  • Change Video Quality
  • Thumbnail / Poster
  • Adjust Playback Speed
  • Fully Customizable Controls
  • Fluid Progress Bar
  • Prevent Seeking in Progress Bar
  • Prevent video from being played more than once

Preview #

Fullscreen #

Getting started #

  • To get started just create a VideoPlayerController as you would for the normal video_player and define a source to use.
  • Secondly create a CustomVideoPlayerController to access the fullscreen and control bar visibility switches by yourself. Pass the controllers to a CustomVideoPlayer widget to use all its functionality and customisation oppurtunities.
  • Secondly create a CustomVideoPlayerController and pass it the created VideoPlayerController as well as your custom settings or additional video sources
  • On the examples tab is a selection of parameters you can customize to your needs. There you can also see how the additional video sources are added in case you want the user to be able to switch between video qualities

Usage #

class _MyHomePageState extends State<MyHomePage> {
  late VideoPlayerController videoPlayerController;
  late CustomVideoPlayerController _customVideoPlayerController;

  String videoUrl =

  void initState() {
    videoPlayerController =
      ..initialize().then((value) => setState(() {}));
    _customVideoPlayerController = CustomVideoPlayerController(
      context: context,
      videoPlayerController: videoPlayerController,

  void dispose() {

  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      navigationBar: CupertinoNavigationBar(
        middle: Text(widget.title),
      child: SafeArea(
        child: CustomVideoPlayer(
          customVideoPlayerController: _customVideoPlayerController

Made with ❤ by Flutter team at Appinio GmbH
pub points



A custom video player that builds on top of the official video_player package by flutter and adds many functionalities.

Repository (GitHub)
View/report issues


API reference




cached_video_player, flutter


Packages that depend on appinio_video_player