appinio_video_player
1.3.0, released 3 years ago by appinio.app
A customizable video player widget that adds controls, fullscreen, caching and quality switching on top of video_player.
What it does
Wraps the official video_player and provides a fully customisable control bar, fullscreen mode, video caching and quality selection. It also adds gestures for volume control and mute/unmute features.
AI-written summary of version 1.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a video player with a custom UI and advanced controls
- You want built‑in caching of network videos
- You require fullscreen support and quality switching across Android, iOS and Web
Skip it when
- You only need basic video playback without extra UI
- You are targeting platforms where video_player is not supported
- You need audio‑only playback
Strengths
- Highly customizable control bar
- Built‑in network video caching
- Fullscreen and picture‑in‑picture handling
- Supports Android, iOS and Web
Weaknesses
- Adds an extra abstraction layer over video_player
- Potentially more bugs than the core video_player
- Limited to video – no audio‑only features
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Add cached_video_player and video_player to pubspec, create a standard VideoPlayerController then wrap it with CustomVideoPlayerController, no special native permissions required
class _MyHomePageState extends State<MyHomePage>{
late VideoPlayerController videoPlayerController;
late CustomVideoPlayerController _customVideoPlayerController;
@override
void initState(){
super.initState();
videoPlayerController=VideoPlayerController.network('https://example.com/video.mp4')..initialize().then((_)=>setState((){}));
_customVideoPlayerController=CustomVideoPlayerController(context:context,videoPlayerController:videoPlayerController);
}
@override
void dispose(){
_customVideoPlayerController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context){
return CustomVideoPlayer(customVideoPlayerController:_customVideoPlayerController);
}
}Alternatives
Packages that do the same job and could replace appinio_video_player.
- video_player
Provides basic video playback with fewer dependencies if you don't need custom controls or caching
93Compare
Works with
Packages commonly used together with appinio_video_player: ones it builds on, ones built on it, and its own family.
- cached_video_playerappinio_video_player depends on itA clone of the official video_player plugin with video caching support for Android and iOS.
- appinio_social_shareSame familySupports sharing text, images, files, and text with images to social media apps.
- appinio_swiperSame familyA customizable Tinder‑style card swiper for Flutter
- appinio_animated_toggle_tabSame familyA custom tab viewer widget with built-in switching animations.