Forked From flutter_meedu_videoplayer
- Android and Ios are using video player
- Desktop are using dart-vlc
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 |
- swipe to increase and decrease volume
- swipe to seek
- integrated wake lock in the code
1.Add in main
if (Platform.isWindows) {
//init dart vlc
await DartVLC.initialize();
//init windowManager
await windowManager.ensureInitialized();
}
Example:
void main() {
if (Platform.isWindows) {
await DartVLC.initialize();
await windowManager.ensureInitialized();
}
runApp(MyApp());
}