flutter_meedu_videoplayer
Cross-platform video player
- 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 | ✅ | ✅ | ✅ | ✅ | ✅ |
Videos from Assets | ✅ | ✅ | ✅ | ✅ | ✅ |
Videos from local files | ✅ | ✅ | ✅ | ✅ | ✅ |
Looping | ✅ | ✅ | ✅ | ✅ | ✅ |
Autoplay | ✅ | ✅ | ✅ | ✅ | ✅ |
Swipe to increase and decrease Sound | ✅ | ✅ | ✅ | ✅ | ✅ |
Swipe to seek in video | ✅ | ✅ | ✅ | ✅ | ✅ |
Fullscreen | ✅ | ✅ | ✅ | ✅ | ✅ |
Launch Player as Fullscreen | ✅ | ✅ | ✅ | ✅ | ✅ |
Playback Speed | ✅ | ✅ | ✅ | ✅ | ✅ |
fastForward / Rewind | ✅ | ✅ | ✅ | ✅ | ✅ |
srt subtitles | ✅ | ✅ | X | X | X |
Customize | partially | partially | ✅ | ✅ | ✅ |