[wp-trac] [WordPress Trac] #47803: Problem with Oembed and Youtube url with a "-" char
WordPress Trac
noreply at wordpress.org
Tue Jul 30 19:55:53 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 jpegtobbe):
Replying to [comment:1 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?
Its the same with https://www.youtube.com/embed/6Y92-NFRXIc .. doesn't
work.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47803#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list