Skip to content

Commit

Permalink
Merge pull request #585 from enjikaka/feature/tidal-encrypted-media
Browse files Browse the repository at this point in the history
[TIDAL Embeds] Add allow and sandbox attributes
  • Loading branch information
v0l committed Jun 3, 2024
2 parents f2f8b6b + 0c90f24 commit 8feb178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/Components/Embed/TidalEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const TidalEmbed = ({ link }: { link: string }) => {
}
const iframe = (
// eslint-disable-next-line react/no-unknown-property
<iframe src={source} style={extraStyles} width="100%" title="TIDAL Embed" frameBorder={0} credentialless="" />
<iframe src={source} style={extraStyles} width="100%" allow="encrypted-media *; clipboard-write *; clipboard-read *" sandbox="allow-scripts allow-popups allow-forms allow-same-origin" title="TIDAL Embed" frameBorder={0} credentialless="" />
);
return (
<>
Expand Down

0 comments on commit 8feb178

Please sign in to comment.