Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions content/guides/embed/box-embed.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,23 @@ If you want to customize Box Embed even further, you can do it programmatically.
width="{pixels}"
height="{pixels}"
frameborder="0"
allow="local-network-access; clipboard-read; clipboard-write"
allowfullscreen
webkitallowfullscreen
msallowfullscreen
></iframe>
msallowfullscreen>
</iframe>
```

### Browser permissions

The `allow` attribute enables clipboard operations and local network access for Google Chrome 142 and above and Microsoft Edge 143 and above. While designed for these browser versions, this attribute can be safely included for all browsers. Other browsers will ignore it.

Without this attribute, embedded Box content might not work correctly with Box Tools, Device Trust, or the clipboard copy button.

<Message type='notice'>
The Embed Widget Link Generation modal automatically includes this parameter in the generated code.
</Message>

### Finding your shared link value

The first step to building an embed `iframe` programmatically is to generate
Expand Down
Loading