Hi, thank you for the better player package. I want help because BetterPlayerController.addEventsListener does not listen to play or pause events. Sorry if I'm violating the report guidelines, I've never done it before.
I only get events related with initialization, but not the play, pause, controlsVisible, controlsHidden, etc. events. And also the centeredWidget does not get hidden.
I/flutter (15172): Better player event: BetterPlayerEventType.setupDataSource
I/flutter (15172): Better player event: BetterPlayerEventType.changedSubtitles
I/flutter (15172): Better player event: BetterPlayerEventType.progress
I/flutter (15172): Better player event: BetterPlayerEventType.progress
I/flutter (15172): Better player event: BetterPlayerEventType.initialized
I/flutter (15172): Better player event: BetterPlayerEventType.progress
I/flutter (15172): Better player event: BetterPlayerEventType.changedTrack
Flutter doctor
[√] Flutter (Channel stable, 2.0.6, on Microsoft Windows [Version 10.0.18363.1500], locale ko-KR)
• Flutter version 2.0.6 at D:\app\flutter
• Framework revision 1d9032c7e1 (2 weeks ago), 2021-04-29 17:37:58 -0700
• Engine revision 05e680e202
• Dart version 2.12.3
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at D:\app\android-sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = D:\app\android-sdk
• Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at D:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] Connected device (3 available)
• SM G965N (mobile) • 211171a60b057ece • android-arm64 • Android 10 (API 29)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
• Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.56
• No issues found!
Better Player version
Version: 0.0.63
Smartphone (please complete the following information):
Hi, thank you for the better player package. I want help because
BetterPlayerController.addEventsListener
does not listen to play or pause events. Sorry if I'm violating the report guidelines, I've never done it before.When I try out this code,
I only get events related with initialization, but not the play, pause, controlsVisible, controlsHidden, etc. events. And also the centeredWidget does not get hidden.
Flutter doctor
Better Player version
Smartphone (please complete the following information):