I used video_player
plugin in my app to load videos from network. I want to display CircularProgressIndicator
if the video is currently buffering.
Is there any way to get buffering status from the controller? I checked the class and only found how much of the video is buffered. Thanks in advance.
您可以使用_controller.value.isBuffering
,如果视频当前正在缓冲,则返回true。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.