punkyard616 downloadsAutomatically converts pasted YouTube links into your preferred embed format on an empty line.

Simply paste a YouTube URL on an empty line in an Obsidian note and it's instantly converted into your preferred embed format (markdown, iframe or div).
Choose your preferred embed mode in Obsidian Settings... → Media Embed.

| Style | Output | Responsive |
|---|---|---|
| markdown | ![]() |
no — fixed size |
| iframe | <iframe ...> |
yes — fills pane width |
| div | <div><iframe ...> |
yes, in a frame — bulletproof |
Not sure which to pick? See pros & cons and edge-case guide.
Some YouTube videos have embedding disabled by the uploader. When pasted in iframe or div mode, they show a blank player (YouTube Error 153).
Enable Use alternative embed server in settings to route embeds through an Invidious instance instead.


Cmd+V / Ctrl+V)https://www.youtube.com/watch?v=...https://youtu.be/...https://www.youtube.com/shorts/...https://www.youtube.com/embed/...

Safe mode if promptedBrowse and search for Media EmbedOptions and choose your preferred style (markdown, iframe, div)main.js and manifest.json<your vault>/.obsidian/plugins/video-embed/Found a bug or have a suggestion? You're welcome to open an issue. See CONTRIBUTING for development setup and pull request guidelines.
This project is licensed under MIT.
made with ⏳ by punkyard