[wp-trac] [WordPress Trac] #26631: Add a "playlist" shortcode
WordPress Trac
noreply at wordpress.org
Mon Feb 24 18:07:53 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):
In [changeset:"27239"]:
{{{
#!CommitTicketReference repository="" revision="27239"
Add core support for Playlists and Video Playlists.
* Playlists operate like galleries in the admin.
* Provide default UI and JS support in themes using MediaElement and
Backbone.
* The shortcodes are clickable, editable, and configurable using the media
modal.
* Playlists support images for each item, whether or not the current theme
supports images for `attachment:audio` and `attachment:video`
* Playlists respond to `$content_width` and resize videos accordingly.
* All playlist data is included inline, using a script tag with
`type="application/json"`, allowing anyone to unenqueue the WP playlist JS
and roll their own.
* Playlist styles are minimal and work out of the box in the last 5
default themes. They inherit and adapt to the current theme's font styles,
and their rules are easily overrideable.
See #26631.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26631#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list