[wp-trac] [WordPress Trac] #27016: Make placeholders/MCE views for Audio/Video shortcodes
WordPress Trac
noreply at wordpress.org
Sun Mar 9 05:24:11 UTC 2014
#27016: Make placeholders/MCE views for Audio/Video shortcodes
----------------------------+-------------------------
Reporter: wonderboymusic | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
----------------------------+-------------------------
Comment (by wonderboymusic):
In [changeset:"27478"]:
{{{
#!CommitTicketReference repository="" revision="27478"
Audio/Video shortcodes in the media modal:
* Make a generic model, `wp.media.model.PostMedia`, which replaces
`wp.media.model.PostAudio` and `wp.media.model.PostVideo`
* Make a generic library, `wp.media.controller.MediaLibrary`, which
replaces `wp.media.controller.ReplaceVideo` and
`wp.media.controller.ReplaceAudio`
* `wp.media.controller.MediaLibrary` is used to create new states that
want to load a library filtered by type, making it incredibly simple to
add states to frames. See `wp.media.view.MediaFrame.VideoDetails` and
`wp.media.view.MediaFrame.AudioDetails`.
UX changes:
* Add the ability to manage HTML5 fallbacks - add additional `<source>`s
or remove specific `<source>`s
* In the Video Details state, add the ability to select a poster image
See #27016.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27016#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list