Cross-Platform Video Player for flutter
See the codeWe have implemented a cross-platform video player, which provides a seamless video playback experience.
π π Complete documentation here
| Feature | iOS | Android | Windows | Linux | macOS | Web |
|---|---|---|---|---|---|---|
| Videos from Network | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Videos from Assets | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Videos from Local Files | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Looping | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| AutoPlay | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Swipe to Control Volume | βοΈ | βοΈ | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows |
| Swipe to Seek | βοΈ | βοΈ | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows |
| FullScreen | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Launch Player in FullScreen | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Playback Speed | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Fast Forward/Rewind | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| SRT Subtitles | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Customization | Partially | Partially | Partially | Partially | Partially | Partially |
| Picture in Picture (PIP) | Not Implemented (Help Wanted) | βοΈ | βοΈ | Implemented (Not tested) | Implemented (Crashes, waiting for window_manager release, fixed in GitHub) | Not Implemented |
void main() {
initMeeduPlayer();
runApp(MyApp());
}
Add to pubspec.yaml
video_player_web_hls: ^1.0.0+3
Add
<script
src="https://cdn.jsdelivr.net/npm/hls.js@latest"
type="application/javascript"
></script>
in index.html above
<script src="main.dart.js" type="application/javascript"></script>
or above
<script src="flutter.js" defer></script>
Dart
78.8%
C++
9.3%
CMake
6.8%
Java
1.3%
Swift
1.1%
Cross-Platform Video Player for flutter
See the codeWe have implemented a cross-platform video player, which provides a seamless video playback experience.
π π Complete documentation here
| Feature | iOS | Android | Windows | Linux | macOS | Web |
|---|---|---|---|---|---|---|
| Videos from Network | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Videos from Assets | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Videos from Local Files | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Looping | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| AutoPlay | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Swipe to Control Volume | βοΈ | βοΈ | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows |
| Swipe to Seek | βοΈ | βοΈ | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows | Keyboard Arrows |
| FullScreen | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Launch Player in FullScreen | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Playback Speed | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Fast Forward/Rewind | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| SRT Subtitles | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Customization | Partially | Partially | Partially | Partially | Partially | Partially |
| Picture in Picture (PIP) | Not Implemented (Help Wanted) | βοΈ | βοΈ | Implemented (Not tested) | Implemented (Crashes, waiting for window_manager release, fixed in GitHub) | Not Implemented |
void main() {
initMeeduPlayer();
runApp(MyApp());
}
Add to pubspec.yaml
video_player_web_hls: ^1.0.0+3
Add
<script
src="https://cdn.jsdelivr.net/npm/hls.js@latest"
type="application/javascript"
></script>
in index.html above
<script src="main.dart.js" type="application/javascript"></script>
or above
<script src="flutter.js" defer></script>
Dart
78.8%
C++
9.3%
CMake
6.8%
Java
1.3%
Swift
1.1%