Add allow and sandbox attributes to TIDAL Embeds.
This commit is contained in:
parent
f2f8b6b225
commit
0c90f248fd
@ -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 (
|
||||
<>
|
||||
|
Loading…
x
Reference in New Issue
Block a user