Open Marcus-Ospicon opened 4 years ago
Build a Wrapper around VLCPlayer from a StatefulWidget that contains
boolean isPlaying = true;
And call the player when it is playing or not and play whether it's playing.
Jamie
isPlaying
Thanks, but I resolved it by using controller.listening combining with a isPlaying variable to stop when the variable inverse the state's controller
@jamiethain @Marcus-Ospicon can you tell me how to resolve it ? paste some example code?
I just comment out then can play, but need wait 2~3 seconds no video
if (value.isInitialized) {
throw Exception('Already Initialized');
}
in the vlc_player_controller.dart file:
Future
Hi everyone,
I am using the vlc player to show multiple videos in a GridView, it works fine however I have a small problem when changing the itemcount of gridview, if the vlc player is stopping it would automatically play again. I want to keep the playingState when changing the itemCount.
Here is my code
Thanks!