Maximiliano Burgos459 downloadsTurns a pasted YouTube link into an inline player with the video title, right where you paste it.
Paste a YouTube link into a note and get a player where the link would have gone — no dialog, no extra command, no leaving the keyboard.
Obsidian can already embed YouTube with , but you have to write that syntax yourself and the result is a bare iframe. This plugin does the conversion at paste time and renders a card with the video title, so a link you dropped into a note six months ago still tells you what it is.
youtube.com/watch, youtu.be, shorts, live, embed, m.youtube.com, music.youtube.com, and playlists.?t=90 or ?t=1h2m3s starts the player at that point.```youtube
https://www.youtube.com/watch?v=dQw4w9WgXcQ
title: Never Gonna Give You Up
channel: Rick Astley
```
The URL is the only line the plugin needs; the rest is there for you and for grep. Edit or delete it freely — a block with no title: just falls back to looking it up.
If you would rather stay on syntax Obsidian understands on its own, switch Inserted format to Native embed and it writes  instead. That renders without the plugin installed, at the cost of the title bar and the Shorts handling. The title is still stored, as the embed's alt text: .
| Setting | Default | |
|---|---|---|
| Convert on paste | on | Paste a YouTube link and get the player. Turn it off to keep plain links and use the commands instead. |
| Inserted format | Code block | Code block, or native . |
| Store title in the note | on | Write the title and channel into the markdown, not just the cache. |
| Show video title | on | Header bar with the title and channel. |
| Privacy mode | off | Play from youtube-nocookie.com. |
| Keep timestamp | on | Honour ?t= from the pasted link. |
| Title cache | — | Clear the looked-up titles. Titles already written into notes are not touched. |
Two things reach youtube.com: the player iframe itself, and one oEmbed request per video to read its title — and that request only happens when the note does not already carry the title, so an archived note renders without it. Turn off Show video title to stop the second one; turn on Privacy mode to serve the player from youtube-nocookie.com.
Two paths touch the clipboard, both only in response to something you did:
Nothing from the clipboard is stored or sent anywhere. The only thing written to disk is the video title, cached in the plugin's data.json, which you can clear from the settings.
From Obsidian — Settings → Community plugins → Browse → search for "Paste YouTube embed".
Manually — download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/youtube-paste-embed/, then enable the plugin in Settings → Community plugins.
There is no build step. main.js is the source: plain CommonJS against the Obsidian API. Edit it, reload Obsidian, done.