Stream Embed
approvedby devsdocs
Automatically convert pasted Spotify and YouTube links into embedded players. - This plugin has not been manually reviewed by Obsidian staff.
Stream Embed
Automatically convert pasted links into playable embedded players and interactive previews inside Obsidian.
Compatibility
Requires Obsidian 1.13.0 or newer.
Features
- Seamless Paste โ Paste a link from Spotify, YouTube, Google Drive, Vimeo, Loom, Figma, SoundCloud, Twitch, CodePen, or local vault files on an empty line to instantly create an embed block.
- Local Media Support โ Embed local vault files and direct media across all platforms (Desktop & Mobile):
- PDF Documents:
.pdfwith full document viewer, pagination, and zoom controls. - Local Video:
.mp4,.webm,.ogv,.mov,.m4v,.mkv,.aviwith HTML5 video player, fullscreen, and inline playback. - Local Audio:
.mp3,.wav,.ogg,.m4a,.flac,.aac,.opus,.wmawith native audio controls. - Flexible Linking: Supports wikilinks (
[[document.pdf]]), markdown links ([Video](video.mp4)), and vault-relative paths.
- PDF Documents:
- Hover Action Bar โ Hover over any embed to quickly copy the URL (๐), open the file or web link (โ), or maximize it into a full-window modal (โคข).
- Click-to-Load Mode โ Optional performance and privacy mode that renders a lightweight preview card and loads the iframe only when clicked.
- Inline Options Override โ Customize height, aspect ratio, or click mode per block directly inside markdown.
- Command Palette Integration โ Quickly convert links under cursor or selections into embed blocks via commands.
- Multi-Platform Portfolio:
- Spotify: Tracks, albums, playlists, artists, episodes, shows.
- YouTube: Videos, playlists, shorts, live streams, embeds, timestamps.
- Google Drive & Workspace: PDFs, videos, audio, images, Docs, Sheets, Slides, Forms, Drawings, Folders.
- Local Vault Media: PDF documents, videos, audio files.
- Vimeo & Loom: High-definition video walkthroughs and screen recordings.
- Figma & FigJam: Live UI designs, prototypes, and whiteboards.
- SoundCloud: Audio tracks and podcasts.
- Twitch: Live streams, video vods, and clips.
- CodePen: Live code snippets and web playgrounds.
Usage
Auto Paste
- Copy a link from any supported platform or a local file wikilink (e.g.,
[[sample.mp4]]). - Paste it on a blank line in your Obsidian editor.
- The plugin automatically converts it into an
embedblock and renders it in Live Preview and Reading View.
Local Media Embeds
Embed local PDF, video, and audio files easily using wikilinks or relative paths:
```embed
[[document.pdf]]
height: 650px
```
```embed
[[recording.mp4]]
aspect: 16/9
```
```embed
[[podcast.mp3]]
```
Manual & Custom Block Options
You can customize height, aspect ratio, or load mode per block:
```embed
https://drive.google.com/file/d/1ABC123xyz_456-789/view
height: 700px
```
```embed
https://vimeo.com/123456789
aspect: 16/9
mode: click
```
Shorthand single-line format:
```embed
[[lecture.mp4]] height=450 mode=click
```
Commands
Access via Ctrl/Cmd + P (Command Palette):
| Command | Description |
|---|---|
Stream Embed: Convert link under Cursor to embed block | Wraps link or local media under editor cursor into an embed block |
Stream Embed: Convert selection to embed block | Converts selected link text to an embed block |
Stream Embed: Toggle click-to-load mode | Toggles globally between direct iframe loading and click-to-load cards |
Settings
Configurable in Settings โ Stream Embed:
| Setting | Description | Default |
|---|---|---|
| Spotify embed height | Default height of Spotify embeds in pixels. | 352 |
| PDF embed height | Default height of PDF embeds in pixels. | 600 |
| Google Drive embed height | Default height of Google Drive/Docs embeds in pixels. | 480 |
| Default embed height | Default height for other embeds in pixels. | 480 |
| Default embed mode | Direct auto embed or click-to-load card. | Auto |
| Enable click-to-load mode | Displays preview cards and loads iframes only on click. | Disabled |
| Show hover action bar | Shows action toolbar (Copy, Open, Fullscreen) on hover. | Enabled |
Installation
From community plugins
- Open Settings โ Community plugins.
- Select Browse and search for Stream Embed.
- Select Install, then Enable.
Manual
- Download
main.js,manifest.json, andstyles.cssfrom the latest release. - Create a folder named
stream-embedinside your vault's.obsidian/plugins/directory. - Place the downloaded files inside the new folder.
- Open Settings โ Community plugins and enable Stream Embed.
Development
npm install
npm run dev # watch mode
npm run build # production build
npm run lint # lint
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.