[wp-trac] [WordPress Trac] #40771: Unable to add YouTube video to Video Widget

WordPress Trac noreply at wordpress.org
Tue May 16 23:19:33 UTC 2017


#40771: Unable to add YouTube video to Video Widget
--------------------------+--------------------------
 Reporter:  taijacg       |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.8
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by timmydcrawford):

 > Yes, absolutely. And that's actually what [attachment:40771.4.diff] is
 an initial stab at doing. I'm not happy with how it is intercepting
 whitespace from being input into the field, however.

 :facepalm: totally missed the new diff there.  In
 [[attachment:40771.5.diff]] I've tried using a {{{keyup}}} listener to
 trim the value - seems to work reasonably well.

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


More information about the wp-trac mailing list