Skip to content
pubscout

pod_player

0.2.2, released 3 years ago by an unverified publisher

Vimeo and YouTube video player for Flutter with customizable controls.

Quiet but busy
$ flutter pub add pod_player
Source repository

What it does

Provides a video player widget and controller that supports playing videos from YouTube and Vimeo, including private videos and live streams, with a YouTube-like overlay interface and customizable progress bars and controls.

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

Use it when

  • You need to play YouTube or Vimeo videos inside your Flutter app.
  • You want customizable video player controls and overlays similar to YouTube.
  • You need cross-platform video playback supporting Android, iOS, and Web.

Skip it when

  • You need a simple raw video player without YouTube/Vimeo parsing dependencies.
  • You require advanced production-level web CORS support natively without external workarounds.

Strengths

  • Supports playing YouTube and Vimeo videos via URL or ID
  • Customizable controls, progress bars, and labels
  • Built-in support for changing video quality and playback speed

Weaknesses

  • Web usage requires CORS configuration or workarounds
  • Video playlists are still marked as a TODO

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6

Requires INTERNET permission on Android and NSAppTransportSecurity configuration on iOS. Web setup may require CORS handling.

import 'package:pod_player/pod_player.dart';
import 'package:flutter/material.dart';

class PlayVideoFromNetwork extends StatefulWidget {
  const PlayVideoFromNetwork({Key? key}) : super(key: key);

  @override
  State<PlayVideoFromNetwork> createState() => _PlayVideoFromNetworkState();
}

class _PlayVideoFromNetworkState extends State<PlayVideoFromNetwork> {
  late final PodPlayerController controller;

  @override
  void initState() {
    controller = PodPlayerController(
      playVideoFrom: PlayVideoFrom.network(
        'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4',
      ),
    )..initialise();
    super.initState();
  }

  @override
  void dispose() {
    controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: PodVideoPlayer(controller: controller),
    );
  }
}

Alternatives

Packages that do the same job and could replace pod_player.

  • chewie

    A mature video player controller built on top of video_player with customizable controls and support for multiple data sources.

Works with

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