[wp-trac] [WordPress Trac] #44106: Embed code not being regenerated on link change in Insert/edit media dialog

WordPress Trac noreply at wordpress.org
Wed May 16 10:28:35 UTC 2018


#44106: Embed code not being regenerated on link change in Insert/edit media dialog
--------------------------+-----------------------------
 Reporter:  brmoore252    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.9.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using the Insert/edit media dialog to embed videos, if a user puts a
 source link in for an unrecognized URL, it will generate a <video> tag, if
 it is recognized (at least if it's youtube), it will generate an iframe.
 However, if the user changes the URL, for example puts an unrecognized
 link in then changes it to youtube, the youtube link then just gets placed
 in the src of the video tag instead of regenerating an iframe tag, and
 vice versa.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list