play 0.0.11 play: ^0.0.11 copied to clipboard
a library dart simple for play audio or video any format on cross platform.
Play library #
Fast, Enjoyable & Customizable Play library
Play Library untuk memutar video dan audio cross platform dengan mudah hanya menambah code pada dart, example sudah ada di
Features #
- 🚀 Cross platform: mobile, desktop, browser
- ⚡ Great performance
- ❤️ Simple, powerful, & intuitive API
Demo #
Install Library #
dart pub add play
flutter pub add play
To-Do #
- Cross platform support (Android,iOS,Linux,macOS, Windows, Web)
- Easy Play Video and Audio
- Custom View Audio And Video
- Realtime Player Like (call, streaming)
Quickstart #
Audio Player
Scaffold(
---
Audio(
audioData: AudioData.file(
file: File(path),
),
isAutoStart: false,
audioViewBuilder: (Widget child, Audio audio, AudioState audioState) {
return child;
}
);
---
)
Video Player
Scaffold(
---
Video(
videoData: VideoData.file(
file: File(path),
),
isAutoStart: false,
videoViewBuilder: (Widget child, Video video, VideoState videoState) {
return child;
}
);
---
)