Open Blacktaler opened 2 weeks ago
it's happening with all videos, just play the video when wifi is turned on, then play the video until the buffered position, then it will stop showing the video and controller's isInitialized value becomes false, then even if your network is returned it will not continue playing.
Anyways, I was trying to check and re initialize when the controller becomes uninitialized, but after once it does not even message that controller has become unInitialized.
Please fix at least one of these errors above, thanks in advance.
@Blacktaler please make sure your issue title is a summary of the problem you're facing so maintainers can understand it at a glance. And it shouldn't be that long
@Blacktaler Please help to elaborate on the issue by providing step-by-step to reproduce, actual/expected results, and a minimal sample code that presents the issue.
Please update the title as needed thats the best I could comprehend from https://github.com/flutter/flutter/issues/147463#issuecomment-2080635894
@Blacktaler please make sure your issue title is a summary of the problem you're facing so maintainers can understand it at a glance. And it shouldn't be that long
Sorry I wanted to reply in an issue, but instead an issue has been opened
Hi @Blacktaler, what version of video_player are you using? What device(s) are you seeing this on? And what issue did you want to reply to?
Hi @Blacktaler, what version of video_player are you using? What device(s) are you seeing this on? And what issue did you want to reply to?
In any android device it's happening. I'm using 2.7.2-version of video_player plugin. I wanted to reply in this #107802 issue issue
I checked this using the sample code below (which has VideoProgressIndicator to see the cached video part more easily).
Reproduced the issue with the latest package version video_player_android: ^2.4.14
.
I'm using VideoPlayer plugin and there are issues with network. For example, I initialize the video in initState, video starts to play, VideoPlayerController buffers 1-3 minutes of the video. I turn off the network(wifi or mobile data). Video plays until the buffered position(3 minutes). If I do not turn on the network while that time, VideoPlayerController's isInitialized state turns false. After that, video will not continue even if the network is back.
Steps to reproduce:
1) Declare VideoPlayerController as variable, initialize in initState method. 2) Use VideoPlayer widget inside the body, give the videoPlayerController to the widget. 3) Turn off the network for a while,(until the videoPlayerController gets reset). 4) Turn on the network, video will not continue to play.