noor_player 1.0.1
noor_player: ^1.0.1 copied to clipboard
A customizable video player with thumbnail and caching support.
noor_player #
A lightweight, customizable Flutter widget to show video thumbnails and play videos with auto-download, cache, mute toggle, and auto-play on visibility.
Features #
- Video thumbnail generation with shimmer placeholder
- Automatic video download and caching
- Auto-play/pause on visibility
- Mute/unmute toggle
- Rotation support for vertical videos
Installation #
Add this to your pubspec.yaml
:
dependencies:
noor_player: ^0.0.1
Then run:
flutter pub get
Usage #
import 'package:noor_player/noor_player.dart';
NoorPlayer(videoUrl: 'https://example.com/video.mp4')
Thumbnail only #
VideoThumbnailWidget(videoUrl: 'https://example.com/video.mp4')
License #
MIT License.