dodude_video_player_android
The Android implementation of dodude_video_player.
Fork of video_player_android with a custom FeedLoadControl optimized for short-form vertical feed playback (TikTok, Reels-style).
FeedLoadControl
Replaces the default ExoPlayer DefaultLoadControl with tuned buffer settings:
| Parameter | Value | Default |
|---|---|---|
minBufferMs |
2000ms | 50000ms |
maxBufferMs |
8000ms | 50000ms |
bufferForPlaybackMs |
1000ms | 2500ms |
bufferForPlaybackAfterRebufferMs |
2000ms | 5000ms |
targetBufferBytes |
C.LENGTH_UNSET |
auto |
This reduces memory consumption and speeds up initial playback in feed scenarios.
Usage
This package is endorsed, which means you can simply use dodude_video_player
normally. This package will be automatically included in your app when you do,
so you do not need to add it to your pubspec.yaml.
However, if you import this package to use any of its APIs directly, you
should add it to your pubspec.yaml as usual.
Known issues
Using VideoViewType.platformView is not currently recommended on Android due to a known issue affecting platform views on Android.