sp-dev-docs
sp-dev-docs copied to clipboard
List Formatting: Question about embeddable sites using the `embed` action
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.
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.
Is this determination based on the value of the X-Frame-Options property of the site specified in the src
attribute?