📝 Add Transcript doc
This commit is contained in:
@@ -15,6 +15,7 @@ export const LoomVideo = ({ id }) => (
|
||||
left: 0,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
borderRadius: '8px',
|
||||
}}
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
22
apps/docs/snippets/youtube-video.mdx
Normal file
22
apps/docs/snippets/youtube-video.mdx
Normal 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>
|
||||
)
|
||||
Reference in New Issue
Block a user