Unable to play PV for android version Kitkat and below (below API level 20)
up2code opened this issue · 3 comments
VocaDB app support minimum API level 16 (4.1.x Jelly Bean) but plugin youtube_player_flutter support minimum at API level 20 (Lollipop and higher)
There is another plugin youtube_player that support API level 16 and below. I need to test and validate player to switch plugin depend on android version of user.
I think at this point you could just increase the minimum API level to 20. I mean, they've released Android 10 already.
I just checked on app statistics. There are few active users who using on Android 4.2 and lower version. It's not hard to coding but problem is I don't have physical device with low version to test (It seems like emulator not work well for testing video)
Increase minimum API level to 20 is another solution too because I think Jelly Bean is really old now.
I had change minimum api to 20 because limitation of webview_flutter (Plugin from Flutter team that in Developer preview state) that is behind youtube_player_flutter plugin.