[wp-trac] [WordPress Trac] #27899: No items found during loading playlist preview
WordPress Trac
noreply at wordpress.org
Tue Apr 22 17:52:07 UTC 2014
#27899: No items found during loading playlist preview
--------------------------+-------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9.1
Component: Media | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by wonderboymusic):
In [changeset:"28182"]:
{{{
#!CommitTicketReference repository="" revision="28182"
Refinements for asynchronous rendering in `wp.mce.media.PlaylistView`:
* Add `visibility: hidden` as an inline style to `<audio>` tags, there is
a race with the stylesheet which can get enqueued in the body and loaded
in the footer.
* When creating new instances of `MediaElementPlayer`, always push them
onto a stack. Lone views can be responsible for multiple instances of the
same shortcode on render.
* Rename `wp.media.mixin.unsetPlayer()` to `wp.media.mixin.unsetPlayers()`
to reflect the above.
* Call `wp.media.mixin.unsetPlayers()` on the view's `unbind()` method,
instead of inline in the `render()` method
* Make sure `WPPlaylistView` is instantiated for each editor instance
* Ensure that the `No Items Found` view state is not rendered when
attachments actually do exist.
Props gcorne, wonderboymusic.
See #27899.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27899#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list