sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

List Formatting: Question about embeddable sites using the `embed` action

Open tecchan1107 opened this issue 8 months ago • 0 comments

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

Declarative list formatting

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [X] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

No response

Issue description

When using the embed action, you can embed and display a site specified in the src attribute's URL.

image

However, there are sites that can and cannot be embedded. For example, you can embed https://www.youtube.com/embed/pwnW68PN2sU?si=rzigqVDQSCHTi0pB, but you cannot embed https://www.youtube.com/watch?v=pwnW68PN2sU.

image

image

Is this determination based on the value of the X-Frame-Options property of the site specified in the src attribute?

image

tecchan1107 avatar Jun 25 '24 03:06 tecchan1107