Copy as Embedded YouTube Video

This shortcut accepts YouTube URLs and then formats HTML for embedding it elsewhere.


Description

This shortcut accepts YouTube URLs as input (or gets them from the clipboard) and then pulls out the video ID to format into the right HTML for embedding the video in a blog post or elsewhere. It attempts to expand any shortened URLs and disregards added trackers. The resulting plain text is copied to the clipboard with a preview alert so you can make sure it's formatted correctly.

It was created by Jarrod Blundy) and written about on his blog.

(I made a similar shortcut for embedding tweets: Copy as Embedded Tweet)


Latest Release Notes

1.0.1 - Jan. 23, 2022, 8:22 p.m.

- Enabled shortcut to appear in the Share Sheet by default. This can always be changed in the shortcut's details screen.


Version history