[wp-trac] [WordPress Trac] #47803: Problem with Oembed and Youtube url with a "-" char
WordPress Trac
noreply at wordpress.org
Tue Jul 30 19:51:29 UTC 2019
#47803: Problem with Oembed and Youtube url with a "-" char
--------------------------+------------------------------
Reporter: jpegtobbe | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by wpza):
Replying to [ticket:47803 jpegtobbe]:
> Think i might have found a bug with oembed. When pasting a youtube link
in the wysiwyg content editor the link isn't converted to a embed element.
It seams its because of a "-" char in the youtube video id string:
https://www.youtube.com/watch?v=6Y92-NFRXIc
This reply may possibly be irrelevant, however, doesn't the URL have to be
an embed URL? Or else you get an access control CORS error of some sort.
Could you try [https://www.youtube.com/embed/6Y92-NFRXIc] instead?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47803#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list