[wp-trac] [WordPress Trac] #49852: Use feature image of video attachment as preview instead of icon

WordPress Trac noreply at wordpress.org
Fri Aug 28 17:07:26 UTC 2020


#49852: Use feature image of video attachment as preview instead of icon
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug needs-refresh has-    |     Focuses:
  patch has-screenshots                          |
-------------------------------------------------+-------------------------

Comment (by seanchayes):

 I downloaded 49852.4.patch and applied it to my local trunk installation.

 To test it out I did the following:

 - I added a new video file to the media library.
 - In the media library list view the video I uploaded showed a default
 thumbnail.
 - I edited the media item and chose a featured image and clicked update.
 - I returned to the media library list view and saw that now my featured
 image selection was being used as the thumbnail for my video file.
 - I successfully repeated the same test with an audio file.

 To that end 49852.4.patch tested out successfully.

 I iterated on 49852.4.patch, made some coding standards changes (no
 functional changes) and have submitted 49852.5.diff for consideration.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49852#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list