Skip to content

Commit

Permalink
Remove youtube cookies from embedded player; fix responsive design in…
Browse files Browse the repository at this point in the history
… resource hub
  • Loading branch information
louis-md committed Feb 2, 2024
1 parent b5560eb commit 17c5ce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/ResourceHub/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export const Resources = (): ReactElement => {
}}
fullWidth
/>
<Typography mt={2}>
<Typography textAlign={['center', 'left']} mt={2}>
<Typography component='span' color='primary.light'>
Example:
</Typography>{' '}
Expand Down
2 changes: 1 addition & 1 deletion components/YouTube/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const YouTubeEmbed: React.FC<{ embedId: string }> = ({ embedId }) => (
<iframe
width='853'
height='480'
src={`https://www.youtube.com/embed/${embedId}`}
src={`https://www.youtube-nocookie.com/embed/${embedId}`}
allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture'
allowFullScreen
title='Embedded youtube'
Expand Down

0 comments on commit 17c5ce2

Please sign in to comment.