[wp-trac] [WordPress Trac] #26631: Add a "playlist" shortcode

WordPress Trac noreply at wordpress.org
Thu Feb 20 07:23:39 UTC 2014


#26631: Add a "playlist" shortcode
-------------------------------------------------+-------------------------
 Reporter:  wonderboymusic                       |       Owner:
     Type:  feature request                      |      Status:  new
 Priority:  normal                               |   Milestone:  3.9
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch needs-ui     |     Focuses:
  needs-docs needs-unit-tests                    |
-------------------------------------------------+-------------------------

Comment (by wonderboymusic):

 [attachment:26631.8.diff 26631.8.diff] is a good alpha.

 - Adds `playlist` and `video-playlist` to the `wpgallery` TinyMCE plugin
 (where `audio` and `video` currently reside)
 - Makes Attachment Settings checkboxes work for `playlist` and `video-
 playlist`, this logic is weird in general for checkboxes and `data-
 setting`
 - Supports the Featured Image in the media model on Edit Media page for
 audio and video when supported
 - Supports `poster` images for videos in `video-playlist`
 - Makes `audio` responsive to size of `$content_width`
 - Loads videos at proper aspect ratio in relation to `$content_width`
 - Supports `light` and `dark` styles
 - Works out of the box in 2010, 2011, 2012, 2013, and 2014 themes - tested
 in all 5
 - Adds `theme_supports_thumbnails( $post )` and `post_supports_thumbnails(
 $post )` to check more than just `$post->post_type` in scenarios that need
 to check `post_type_supports( 'attachment:video', 'thumbnail' )` and
 `current_theme_supports( 'post-thumbnails', 'attachment:video' )`
 - contains all of the code to abstract Gallery JS code into "Collection''
 code

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


More information about the wp-trac mailing list