devsdocs1k downloadsAutomatically convert pasted Spotify and YouTube links into embedded players.
Automatically convert pasted links into playable embedded players and interactive previews inside Obsidian.
Requires Obsidian 1.13.0 or newer.
.pdf with full document viewer, pagination, and zoom controls..mp4, .webm, .ogv, .mov, .m4v, .mkv, .avi with HTML5 video player, fullscreen, and inline playback..mp3, .wav, .ogg, .m4a, .flac, .aac, .opus, .wma with native audio controls.[[document.pdf]]), markdown links ([Video](video.mp4)), and vault-relative paths.[[sample.mp4]]).embed block and renders it in Live Preview and Reading View.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]]
```
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
```
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 |
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 |
main.js, manifest.json, and styles.css from the latest release.stream-embed inside your vault's .obsidian/plugins/ directory.npm install
npm run dev # watch mode
npm run build # production build
npm run lint # lint