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

WordPress Trac noreply at wordpress.org
Thu Feb 27 15:32:29 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-unit-tests  |     Focuses:
------------------------------------------------------+------------------

Comment (by wonderboymusic):

 Next step is to make the value for "style" filterable in Playlist Settings
 and in the shortcode attribute whitelist. Ideally, a plugin or theme could
 install additional styles.

 I don't think we want to bundle more in core, although I do like the idea
 of a playlist that has a "cover image" - I have some SoundCloud embeds on
 the homepage of this site: http://highforthis.com. The image could change
 with each track.

 Since assets (JS/CSS) are only loaded on the first instance of a playlist
 shortcode, we can probably fire an action (something like
 `wp_playlist_{$style}`) where one could hook. We should make our
 enqueue'ing using the action so it can be easily unhooked.

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


More information about the wp-trac mailing list