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
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.
Works with
Packages commonly used together with pod_player: ones it builds on, ones built on it, and its own family.
- video_playerpod_player depends on itFlutter plugin for displaying inline video on Android, iOS, macOS, and web.
- wakelock_pluspod_player depends on itKeep the device screen awake across mobile, desktop, and web platforms.
- getpod_player depends on itAll-in-one framework for reactive state management, context-less routing, and dependency injection.
- universal_htmlpod_player depends on itCross‑platform replacement for dart:html with DOM parsing, XML support, and EventSource.
- youtube_explode_dartpod_player depends on itQuery YouTube metadata, streams, playlists, captions, and comments without an API key.