flutter_meedu_videoplayer 2.0.0 flutter_meedu_videoplayer: ^2.0.0 copied to clipboard
A crossplatfrom video player.
flutter_meedu_videoplayer #
Cross-platform video player (macos not included) #
- Android and Ios are using video player
- Desktop are using dart-vlc
Used meedu player as a base and added (also fixed some errors) #
- swipe to increase and decrease volume
- swipe to seek
- integrated wake lock in the code
Setup For windows #
1.Add in main
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
//init dart vlc
DartVLC.initialize();
}
Example:
void main() {
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
DartVLC.initialize();
}
runApp(MyApp());
}
Features | iOS | Android | windows | linux | macos |
---|---|---|---|---|---|
Videos from Network | ✅ | ✅ | ✅ | ✅ | x |
Videos from Assets | ✅ | ✅ | ✅ | ✅ | x |
Videos from local files | ✅ | ✅ | ✅ | ✅ | x |
Looping | ✅ | ✅ | ✅ | ✅ | x |
Autoplay | ✅ | ✅ | ✅ | ✅ | x |
Swipe to increase and decrease Sound | ✅ | ✅ | ✅ | ✅ | x |
Swipe to seek in video | ✅ | ✅ | ✅ | ✅ | x |
Fullscreen | ✅ | ✅ | ✅ | ✅ | x |
Launch Player as Fullscreen | ✅ | ✅ | ✅ | ✅ | x |
Playback Speed | ✅ | ✅ | ✅ | ✅ | x |
fastForward / Rewind | ✅ | ✅ | ✅ | ✅ | x |
srt subtitles | ✅ | ✅ | X | X | X |
Customize | partially | partially | ✅ | ✅ | x |