[wp-trac] [WordPress Trac] #42039: Widgets: Enable oEmbed support for Video widget

WordPress Trac noreply at wordpress.org
Thu Oct 19 00:06:31 UTC 2017


#42039: Widgets: Enable oEmbed support for Video widget
-------------------------+-----------------------
 Reporter:  westonruter  |       Owner:  obenland
     Type:  enhancement  |      Status:  closed
 Priority:  high         |   Milestone:  4.9
Component:  Widgets      |     Version:  4.8
 Severity:  normal       |  Resolution:  fixed
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------

Comment (by westonruter):

 In [changeset:"41933"]:
 {{{
 #!CommitTicketReference repository="" revision="41933"
 Widgets: Harden logic for checking for valid media URLs.

 * Update deprecated `isHostedVideo` method to always return `true` since
 all oEmbeds are now supported.
 * Disable `scanImage` for non-image media widgets.
 * Ensure embed URL field element is matched from current media frame
 instance due to bug where media frames are not destroyed upon closing.
 * Update error message for invalid video URLs to ask user to check the URL
 for validity.

 Props gk.loveweb, octalmage, westonruter.
 See #42039, #40935.
 Fixes #41052.
 }}}

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


More information about the wp-trac mailing list