Comments (5)
Isn't that just size? What do you mean by resolution?
from flutter.
@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
from flutter.
Size should be there after you initialize()
the controller.
from flutter.
@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);
from flutter.
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.
from flutter.
Related Issues (20)
- Updated layout information required for RenderIndexedSemantics#1efe6 relayoutBoundary=up3 NEEDS-LAYOUT NEEDS-PAINT to calculate semantics. HOT 3
- Make it easy to use `clangd` (i.e. an IDE) with the engine (especially post-RBE) HOT 2
- after updating to `Flutter Channel stable, 3.22.0` `flutter build` works but the build using the Xcode project doesn't work anymore. HOT 1
- [camera_android_camerax] Setting exposure compensation index was canceled due to the camera being closed or a new request being submitted HOT 2
- Wasm export loads both js and wasm. HOT 1
- Clang tidy not picking up all diagnostics in some code HOT 2
- Collapsing the software keyboard doesn't lose the focus from textfield in 3.22.0, while it worked in 3.19.6 HOT 15
- Software keyboard flickers when focus moves between TextFields (3.22.0) HOT 2
- Hint Text not aligned at center in DropdownButtonFormField (3.22.0) HOT 1
- [tool_crash] SessionNotCreatedException HOT 1
- Video Player Issue HOT 2
- Webview_flutter canGoBack problem in Separate Window HOT 5
- [macOS]: PathNotFoundException when building app with flavours HOT 5
- Missing Colors at Specific Zoom Levels When Using JSON Style HOT 2
- I am using flutter and serverpod for developing a webapp . it gives me an error like this:
- Dropdowns have accessibility focus issues HOT 3
- Grey screen Errors in Release Mode HOT 2
- "flutter build web" specifying output not working since flutter upgrade to 3.22 (from 3.16) HOT 4
- Build fails with error: 'The argument type 'PageController?' can't be assigned to the parameter type 'ScrollController'' after updating to Flutter 3.22.0 HOT 1
- Numpad input issue in web build HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.