GraphQL asset interface does not expose mp4/video dimensions #9038
Replies: 1 comment 4 replies
-
That's not a GraphQL limitation, though, as Craft doesn't have the capability to figure out the dimensions for a video file, yet. If the values are in the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Is there any chance to implement this in near future and in the meantime is there any workaround to retrieve mp4/video dimensions in any other way?
I'm working on a masonry frontend which consists of images and videos where every asset can have different dimensions. Currently I can't seem to get dimensions data on the mp4 video assets through GraphQL (width and height fields return null).
Beta Was this translation helpful? Give feedback.
All reactions