2023-02-07 20:04:50 +00:00
|
|
|
const SoundCloudEmbed = ({ link }: { link: string }) => {
|
|
|
|
return (
|
|
|
|
<iframe
|
|
|
|
width="100%"
|
|
|
|
height="166"
|
|
|
|
scrolling="no"
|
|
|
|
allow="autoplay"
|
2023-02-09 12:26:54 +00:00
|
|
|
src={`https://w.soundcloud.com/player/?url=${link}`}></iframe>
|
2023-02-07 20:04:50 +00:00
|
|
|
);
|
|
|
|
};
|
2023-01-21 15:15:18 +00:00
|
|
|
|
|
|
|
export default SoundCloudEmbed;
|