[wp-trac] [WordPress Trac] #27389: MCE Views for Audio/Video

WordPress Trac noreply at wordpress.org
Fri Apr 11 17:35:06 UTC 2014


#27389: MCE Views for Audio/Video
----------------------------+-------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by wonderboymusic):

 [attachment:27389.9.diff 27389.9.diff] adds a few of the things from my
 patch that are still necessary.

 1. Need to set a longer timeout on initial page load to avoid the race
 condition with the editor stylesheet setting content width
 1. Need to push players onto a stack, a single view can render multiple
 instances if the shortcode is duplicated. Thus, the `unbind` routine needs
 to iterate and remove and then reset.

 Everything looks good, and this approach is much cleaner. John Resig
 envisioned code-heroes/cowboys like you two when he wrote Secrets of a
 JavaScript Ninja.

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


More information about the wp-trac mailing list