quality_player 0.0.4
quality_player: ^0.0.4 copied to clipboard
Quality Player is a custom video player built using Flutter’s video_player package. It supports both portrait and landscape modes, so users can watch videos in any screen orientation. The player is fu [...]
Quality Video Player #
A Flutter video player widget that supports both landscape and portrait modes, allowing flexible aspect-ratio handling and stretch-to-fill behavior.
Features #
- Orientation Aware: Automatically switches between native aspect ratio in landscape and fill-to-width in portrait.
- Auto Initialization & Playback: Initializes the VideoPlayerController and begins playback once ready.
- Loading State: Displays a customizable loading indicator until the video is ready.
- Easy Configuration: One widget, minimal setup.
Installation #
dependencies:
quality_player: <latest_version>
Usage #
import 'package:player/quality_player.dart';
final qualityPlayer = QualityPlayer('https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4');