Video Embed

by punkyard
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. Automatically converts pasted YouTube links into your preferred embed style on an empty line.

Reviews

No reviews yet.

Stats

stars
21
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

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) — no commands, no shortcuts, just paste.

Features

  • intercepts YouTube URLs pasted on empty lines
  • three preview options to choose from
    • simple markdown
    • responsive in iframe and div modes
    • working 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
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/...


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. download the source ZIP from the latest release
  2. unzip the archive into <your vault>/.obsidian/plugins/
  3. reload Obsidian and enable the plugin in Obsidian Settings... → Community plugins

Roadmap

  • v2 when repo hits 100 GitHub ⭐ — more video providers (Vimeo, Dailymotion, …)
  • v3 when repo hits 1 000 GitHub ⭐ — import video metadata (title, thumbnail) from URL

Contributing

Found a bug or have a suggestion? Open an issue.


License

This project is licensed under GPL-3.0-or-later.

In practical terms, that means distributed modifications and derivative versions must also remain open source under GPL-compatible terms.