flutter_meedu_videoplayer 4.0.0 flutter_meedu_videoplayer: ^4.0.0 copied to clipboard
A cross Platform video player that uses video_player for android and ios and web, video_player_dart_vlc for windows and linux.
flutter_meedu_videoplayer #
Cross-platform video player #
- For Android, Ios and Web we are using video player
- For Windows and Linux and macos we are using media_kit.
Features | iOS | Android | windows | linux | macos | web |
---|---|---|---|---|---|---|
Videos from Network | ✅ | ✅ | ✅ | ✅ | x | ✅ |
Videos from Assets | ✅ | ✅ | ✅ | ✅ | x | ✅ |
Videos from local files | ✅ | ✅ | ✅ | ✅ | x | ✅ |
Looping | ✅ | ✅ | x | x | x | x |
AutoPlay | ✅ | ✅ | ✅ | ✅ | x | ✅ |
Swipe to increase and decrease Sound | ✅ | ✅ | keyboard arrows | keyboard arrows | x | keyboard arrows |
Swipe to seek in video | ✅ | ✅ | keyboard arrows | keyboard arrows | x | keyboard arrows |
FullScreen | ✅ | ✅ | ✅ | ✅ | x | ✅ |
Launch Player as FullScreen | ✅ | ✅ | ✅ | ✅ | x | ✅ |
Playback Speed | ✅ | ✅ | ✅ | ✅ | x | ✅ |
fastForward / Rewind | ✅ | ✅ | ✅ | ✅ | x | ✅ |
srt subtitles | ✅ | ✅ | x | x | x | x |
Customize | partially | partially | partially | partially | x | partially |
Initialize #
void main() {
initMeeduPlayer();
runApp(MyApp());
}
Setup #
Windows #
Everything ready.
Linux #
System shared libraries from distribution specific user-installed packages are used by-default. You can install these as follows.
Ubuntu / Debian
sudo apt install libmpv-dev mpv
Packaging
There are other ways to bundle these within your app package e.g. within Snap or Flatpak. Few examples:
macOS #
Everything ready.