[wp-trac] [WordPress Trac] #28905: Audio/Video MCE views should use iframe sandboxes

WordPress Trac noreply at wordpress.org
Wed Aug 20 16:34:50 UTC 2014


#28905: Audio/Video MCE views should use iframe sandboxes
----------------------------+-------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  4.0
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by wonderboymusic):

 The `[embed]` shortcode/handler for audio and video files returns an
 `[audio]` or `[video]` via `$wp_embed->autoembed()` at priority 8 of
 `the_content`. The shortcode is parsed at priority 11.

 `wp_ajax_parse_embed()` does both of these steps for audio/video, not for
 playlist, which has no embed handler.

 The only shared code is the MCE style loading and the nuking of
 `$wp_scripts->done`

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


More information about the wp-trac mailing list