flutter_meedu_videoplayer 4.0.2 flutter_meedu_videoplayer: ^4.0.2 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 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Videos from Assets | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Videos from local files | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Looping | ✅ | ✅ | x | x | x | x |
AutoPlay | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Swipe to increase and decrease Sound | ✅ | ✅ | keyboard arrows | keyboard arrows | ✅ | keyboard arrows |
Swipe to seek in video | ✅ | ✅ | keyboard arrows | keyboard arrows | ✅ | keyboard arrows |
FullScreen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Launch Player as FullScreen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Playback Speed | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
fastForward / Rewind | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
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.