Status Update
Comments
hu...@google.com <hu...@google.com>
el...@google.com <el...@google.com> #2
Hi, we have forwarded this issue to our engineering team. I'll let you know when there's an update. Thank you.
al...@gmail.com <al...@gmail.com> #3
Hello,
I think it's worth mentioning just in case that this is not exactly a duplicate. The linked issue is mentioning a CORS error which even resolved wouldn't necessarily resolve this particular issue.
Here it's the CORP header that is missing, and at the moment unless the header Cross-Origin-Resource-Policy: cross-origin is added to the YouTube embed links responses, solving issue
At the moment there is no way to embed YouTube in a crossOriginIsolated site ( using the header Cross-Origin-Embedder-Policy: require-corp )
Neither this issue nor the linked one gives a status / reasons for this while like mentioned above, youtube.com/embed and youtube-nocookie.com/embed seems clearly intended for cross-origin resource sharing.
Can we expect to see this CORP header added soon ? Or an alternative way to embded YouTube videos in crossOriginIsolated sites ? Thanks your time.
jo...@gmail.com <jo...@gmail.com> #4
"anonymous" attribute feature status
Feature is available in chrome 105 under flag ` --enable-blink-features=AnonymousIframe` and can be tested on
Running chrome with the flag + `<iframe src="
jo...@gmail.com <jo...@gmail.com> #5
al...@gmail.com <al...@gmail.com> #6
The "duplicate" has been marked as fixed. What does it implies for this one?
jo...@gmail.com <jo...@gmail.com> #7
I can see cross-origin-resource-policy: cross-origin
(CORP) available in youtube embed response, however using chrome 107 (latest), still blocks the iframe with COEP error:
To embed this frame in your document, the response needs to enable the cross-origin embedder policy by specifying the following response header:
Cross-Origin-Embedder-Policy: require-corp
jo...@gmail.com <jo...@gmail.com> #8
So basically when the embedder has following policy:
Cross-Origin-Embedder-Policy "require-corp" # or "credentialless"
youtube iframe response requires both:
Cross-Origin-Resource-Policy "cross-origin"
Cross-Origin-Embedder-Policy "require-corp" # or "credentialless"
al...@gmail.com <al...@gmail.com> #9
Hello, this still isn't solved while the "duplicate" is marked as solved.
I agree with the above comment on what header is required.
Is this issue still tracked?
da...@gmail.com <da...@gmail.com> #10
re...@gmail.com <re...@gmail.com> #11
fg...@gmail.com <fg...@gmail.com> #12
Any update on this?
al...@ssdllc.biz <al...@ssdllc.biz> #13
yu...@gmail.com <yu...@gmail.com> #14
br...@signinsolutions.com <br...@signinsolutions.com> #15
Unfortunately, using a `credentialless` iframe is not an option since not all browsers support it yet.
da...@mentorcity.com <da...@mentorcity.com> #16
99...@gmail.com <99...@gmail.com> #17
Perhaps someone ought to create a new issue?
ri...@metadrop.net <ri...@metadrop.net> #18
pa...@nordsec.com <pa...@nordsec.com> #19
pa...@gmail.com <pa...@gmail.com> #20
google please fix the status and take a look into the issue as it still persists
Description
Description
When the embedder document is served with Cross-Origin-Embedder-Policy: require-corp the embedded player is not rendered. The response to the https://www.youtube.com/embed/[Any video] does not contain Cross-Origin-Resource-Policy header and the youtube.com/embed address is clearly intended for cross-origin resource sharing.
API request with parameters used (DO NOT include your credential)
Any video can be used to reproduce the issue.
E.g.
https://www.youtube.com/embed/KXjq9cpHrU4
Result (copy and paste a JSON response you received)
The response to the resource is blocked
A screenshot showing the error messages has been attached to the issue.
Expected result
The player does not cause any error.
Is it 100% reproducible?
Yes when the Cross-Origin-Embedder-Policy header of the embedder document is set to require-corp