How to Embed YouTube Shorts
🌱 This post is in the growth phase. It may still be useful as it grows up.
Embedding YouTube Shorts is the same as embedding any other YouTube video.
It just… harder.
To start, you need the YouTube embed markup. Get it from the share sheet on any YouTube video. Or just trust me and copy this.
Copy a link to your short. And strip out the video id.
The part after
shorts and before the
? is your video id.
Put that in your
pipe embed markup smoke render it.
I guess we have to flip the hard-coded aspect ratio too:
Now we get the proper Shorts UI.
It’s stupid that yo uhave to do all this. @cc: YouTube
I made two components that will help you out