[wp-trac] [WordPress Trac] #23673: Add functions to get metadata for videos
WordPress Trac
noreply at wordpress.org
Sun Mar 3 02:53:41 UTC 2013
#23673: Add functions to get metadata for videos
----------------------------+-------------------------
Reporter: wonderboymusic | Type: enhancement
Status: new | Priority: normal
Milestone: 3.6 | Component: Media
Version: | Severity: normal
Keywords: needs-patch |
----------------------------+-------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23673>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list