Merge pull request #585 from enjikaka/feature/tidal-encrypted-media
Some checks failed
continuous-integration/drone/push Build is failing

[TIDAL Embeds] Add allow and sandbox attributes
This commit is contained in:
Kieran 2024-06-03 08:59:36 +01:00 committed by GitHub
commit 8feb178ed5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 (
<>