Skip to content

Commit

Permalink
iframe bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
aridanemartin committed Sep 11, 2022
1 parent ddb4775 commit dd31680
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 1 addition & 9 deletions components/SpotifyPlayer/SpotifyPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@ import styles from "./SpotifyPlayer.module.scss";
export const SpotifyPlayer = ({ url }) => {
return (
<div className={styles.spotifyPlayerWrapper}>
<iframe
src={url}
width="100%"
height="380"
frameBorder="0"
allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
loading="lazy"
></iframe>
<iframe src={url} width="100%" height="380" loading="lazy"></iframe>
</div>
);
};
2 changes: 0 additions & 2 deletions components/YoutubePlayer/YoutubePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ export const YoutubePlayer = () => {
height="100%"
src="https://www.youtube.com/embed/JHCEV0by7pE"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div>
);
Expand Down

1 comment on commit dd31680

@vercel
Copy link

@vercel vercel bot commented on dd31680 Sep 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.