Add functions to generate metadata for video / audio
|Reported by:||wonderboymusic||Owned by:||markjaquith|
If you don't know the width and height of an uploaded video, you don't know the proper aspect ratio to frame it in a generic player environment.
As it stands now, uploaded videos have no metadata other than _wp_attached_file(), the file extension, and $post->post_mime_type. Let's investigate ways to get more data for videos in the media library upon upload, specifically dimensions and hopefully length, etc.
Change History (21)
comment:1 @wonderboymusic — 3 years ago
- Keywords has-patch added; needs-patch removed
comment:3 @wonderboymusic — 3 years ago
- Summary changed from Add functions to get metadata for videos to Add functions to generate metadata for video / audio
comment:7 @markjaquith — 3 years ago
- Owner set to markjaquith
- Resolution set to fixed
- Status changed from new to closed
- Cc bpetty added
- Resolution fixed deleted
- Status changed from closed to reopened