Closed stephane-archer closed 2 weeks ago
Isn't that just size? What do you mean by resolution?
@moffatman Sorry, you are probably right but I found size.height
and size.width
to be equal to zero so I'm not sure what I'm missing
Size should be there after you initialize()
the controller.
@moffatman thank you so much you are the best
tldr:
VideoPlayerController controller = VideoPlayerController.file(myFile);
await controller.initialize();
print(controller.value.size.height);
print(controller.value.size.width);
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Use case
Proposal
up