Comments (4)
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.
Related Issues (20)
- mac-7 lost external connection phone device. HOT 1
- Support updatable configuration file after build
- Calling `setState` within `onEnter` causes `onExit` then `onEnter` to be called again even though pointer is stationary
- Apple Finance Kit
- [Flutter Web] Widgets not resizing (disappear) with browser zoom in / out - continuation of https://github.com/flutter/flutter/issues/129182
- Linux customer_testing is 2.00% flaky HOT 1
- Linux_samsung_a02 new_gallery_impeller__transition_perf is 3.03% flaky
- [google_maps_flutter] Add `onLongTap` callback for `Marker` if possible
- [in_app_purchase] Return current subscription information
- Add `clipBehavior` to `DialogTheme`
- [tool_crash] RPCError
- [go_router] [android] go_router recreates every widget class at parent locations.
- Hot Reload (web) HOT 1
- [tool_crash] WebDriverException
- Kernel snapshot input dependency tracking not working
- [CP] Beta/3.22 Platform view android 14 workaround
- `et run` throws `UnimplementedError` for Android on Windows HOT 3
- Execution failed for task ':app:minifyDevReleaseWithR8' HOT 3
- Stale data on bots is interfering with the GN step HOT 7
- linux-45 lost external connection phone device. HOT 1
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.