2
0

📝 Add Transcript doc

This commit is contained in:
Baptiste Arnaud
2024-06-10 17:46:29 +02:00
parent ad6894e110
commit fdbd9c08a3
3 changed files with 31 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ export const LoomVideo = ({ id }) => (
left: 0,
width: '100%',
height: '100%',
borderRadius: '8px',
}}
></iframe>
</div>

View File

@@ -0,0 +1,22 @@
export const YoutubeVideo = ({ id }) => (
<div
style={{
position: 'relative',
paddingBottom: '64.63195691202873%',
height: 0,
}}
>
<iframe
src={`https://www.youtube.com/embed/${id}`}
allowFullScreen
style={{
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
borderRadius: '8px',
}}
></iframe>
</div>
)