WordPress.org

Make WordPress Core

Opened 2 months ago

#44106 new defect (bug)

Embed code not being regenerated on link change in Insert/edit media dialog

Reported by: brmoore252 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.5
Component: TinyMCE Keywords:
Focuses: Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.