[wp-trac] [WordPress Trac] #27243: Improve video rendering

WordPress Trac noreply at wordpress.org
Sat Feb 12 14:50:52 UTC 2022


#27243: Improve video rendering
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  3.9
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+-----------------------------

Comment (by daviese):

 First I try this, On attachment pages for audio and video, display
 players. Currently, only a link is displayed. Add minimal CSS rules for
 compatibility with 2011, 2012, and 2013 themes.
 In prepend_attachment, add logic to support attachment types that are not
 image.
 In get_post_class(), don't add the has-post-thumbnail class for attachment
 pages. [https://socialmedialivetrend.blogspot.com/ .]Do not use the
 alternative if/elseif/else syntax in prepend_attachment() introduced in
 [27622], as per kovshenin.
 Fixes #27243.
 Thanks It resolved.

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


More information about the wp-trac mailing list