Merge pull request #585 from enjikaka/feature/tidal-encrypted-media
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
[TIDAL Embeds] Add allow and sandbox attributes
This commit is contained in:
commit
8feb178ed5
@ -55,7 +55,7 @@ const TidalEmbed = ({ link }: { link: string }) => {
|
|||||||
}
|
}
|
||||||
const iframe = (
|
const iframe = (
|
||||||
// eslint-disable-next-line react/no-unknown-property
|
// 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 (
|
return (
|
||||||
<>
|
<>
|
||||||
|
Loading…
Reference in New Issue
Block a user