Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23726 closed enhancement (fixed)

Show Audio and Video previews on Edit Attachment screen

Reported by: wonderboymusic's profile wonderboymusic Owned by: markjaquith's profile markjaquith
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:


edit-form-advanced.php handles media, but only images. With audio / video support in #23282, it is now possible to display audio and video previews in the admin, so let's do that

Attachments (2)

23726.diff (2.1 KB) - added by wonderboymusic 11 years ago.
23726.2.diff (2.2 KB) - added by wonderboymusic 11 years ago.

Download all attachments as: .zip

Change History (7)

#1 @wonderboymusic
11 years ago

  • Component changed from Post Formats to Media

#2 @wonderboymusic
11 years ago

  • Keywords has-patch added

#3 @markjaquith
11 years ago

Is there some CSS missing here? Looks funky:

#4 @wonderboymusic
11 years ago

that's because #23673 is required - audio and video don't have metadata without it, which means width and height can't be calculated so the shortcode explodes. #23282 and #23673 are the baseline functionality

#5 @markjaquith
11 years ago

  • Owner set to markjaquith
  • Resolution set to fixed
  • Status changed from new to closed

In 23768:

Show a playable audio/video preview on the Edit Attachment screen.

props wonderboymusic. fixes #23726

Note: See TracTickets for help on using tickets.