mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 15:38:13 -07:00
fix: Web and input device switching in video player
This commit is contained in:
parent
1eeecdc18f
commit
3b4eec6c4f
5 changed files with 110 additions and 63 deletions
|
|
@ -56,7 +56,7 @@ class MediaControlsWrapper extends BaseAudioHandler implements VideoPlayerContro
|
|||
Future<void> init() async {
|
||||
if (!initializedWrapper) {
|
||||
initializedWrapper = true;
|
||||
if (!kIsWeb || Platform.isAndroid) {
|
||||
if (!kIsWeb && Platform.isAndroid) {
|
||||
VideoPlayerControlsCallback.setUp(this);
|
||||
}
|
||||
await AudioService.init(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue