Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Media Embed

punkyardpunkyard616 downloads

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

Add to Obsidian
Media Embed screenshot
  • Overview
  • Scorecard
  • Updates17

Media Embed

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).

⭐️ Roadmap unlocks with GitHub stars:

  • 100 GitHub ⭐ : more video providers (Vimeo, Dailymotion, local files…)
  • 1 000 GitHub ⭐ : auto-import video metadata (title, thumbnail) from URL

Features

  • intercepts YouTube URLs pasted on empty lines
    • youtu.be
    • shorts
    • embed URLs
  • three preview options to choose from
    • simple markdown
    • responsive in iframe and div modes
  • alternative embed server support for restricted videos
    • toggle in settings to route embeds through an Invidious instance
    • bypasses YouTube embed blocks (Error 153)
    • configurable URL — swap instances if one is down
  • works on desktop and mobile

Embed styles

Choose your preferred embed mode in Obsidian Settings... → Media Embed.

Media Embed options

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.

Alternative embed server

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.

Results in source mode:

Media Embed source


Usage

get YouTube URL

  1. copy YouTube video URL (right-click on it: Copy video URL)
  2. open any note
  3. place your cursor on a blank line
  4. paste the YouTube URL (Cmd+V / Ctrl+V)
  5. the URL is automatically replaced with the embed
Supported URL formats:
  • https://www.youtube.com/watch?v=...
  • https://youtu.be/...
  • https://www.youtube.com/shorts/...
  • https://www.youtube.com/embed/...


iOS markdown rendering



Installation

From Obsidian Community Plugins

  1. open Obsidian Settings... → Community plugins
  2. disable Safe mode if prompted
  3. click Browse and search for Media Embed
  4. install and enable the plugin
  5. open Options and choose your preferred style (markdown, iframe, div)

Manual

  1. go to the latest release and download main.js and manifest.json
  2. create a folder <your vault>/.obsidian/plugins/video-embed/
  3. place both files in that folder
  4. reload Obsidian and enable the plugin in Settings → Community plugins

Contributing

Found a bug or have a suggestion? You're welcome to open an issue. See CONTRIBUTING for development setup and pull request guidelines.


License

This project is licensed under MIT.


made with ⏳ by punkyard

HealthExcellent
ReviewPassed
About
Paste a YouTube link on an empty line to automatically convert it into your chosen embed format (markdown, iframe, or div) — no command no shortcut.
VideoAutomationMarkdown
Details
Current version
1.2.5
Last updated
Last month
Created
3 months ago
Updates
17 releases
Downloads
616
Compatible with
Obsidian 1.12.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
punkyardpunkyard
github.com/punkyard/obsidian-media-embed
GitHubpunkyard
  1. Community
  2. Plugins
  3. Video
  4. Media Embed

Related plugins

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Auto Link Title

Automatically fetches the titles of links from the web.

Link Embed

Convert URLs in your notes into embeded previews.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

BRAT

Easily install a beta version of a plugin for testing.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Advanced URI

Control everything with URI.

Lazy Loader

Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.

Hot Reload

Automatically reload in-development plugins when their files are changed

Outliner

Work with your lists like in Workflowy or Roam Research.