Embed function no longer works. a CORS issue

Hi, currently we can’t add embed to our articles anymore. I believe it’s a CORS issue which Prismic frontend initiates a request from my workspace origin to oembed.prismic.io with credentials include, whereas oembed.prismic.io returns 'Access-Control-Allow-Origin' header with a wildcard.

I attached a video link below for reproduce steps and error message in developer tool

Video: https://drive.google.com/file/d/1Nq8jMygbSDRI3OYc0N55t8eq4cBBbM5z/view?usp=sharing

1 Like

Hi,

We have the same issue using Youtube video links on slices. The browser console shows a RequestError with “Failed to fetch” as a message, on the https://oembed.prismic.io/ url

Hey all,

Thanks for reporting this! I've been able to reproduce this and we're aware of the issue. I've reached out to the team internally so they can investigate and provide more information and/or a fix for this. I'll update this thread when I have news :slight_smile:

Thanks for your patience in the meantime.

2 Likes

Looks resolved?

1 Like

Hi all, indeed @bryan1 this has been resolved! :slight_smile: Thanks for your patience everyone.