Media Slider

by Aditya Amatya
5
4
3
2
1
Score: 52/100

Description

Category: Customization & UI

The Media Slider plugin enables users to create interactive media slideshows within Obsidian, supporting images, videos, audio files, PDFs, and Markdown content. It provides customizable transitions, autoplay functionality, thumbnail navigation, and enhanced view options like fullscreen mode and a copy button. Users can add interactive notes for each slide, annotate images with drawing tools, and visualize audio or video playback with a waveform visualizer.

Reviews

No reviews yet.

Stats

111
stars
8,668
downloads
6
forks
441
days
91
days
91
days
2
total PRs
0
open PRs
0
closed PRs
2
merged PRs
22
total issues
5
open issues
17
closed issues
0
commits

Latest Version

3 months ago

Changelog

#Release 1.3.6

New features: MediaType enum, centralized detectMediaType() with caching, and remote URL media detection via HTTP headers Bug fixes: #22 — keyboard navigation no longer hijacks arrow keys globally (file rename, sidebar, contentEditable) #22 — slider properly deactivates when clicking outside Local file rendering regression from the merged PR (resource path query string breaking regex detection) Technical changes: consolidated type detection, async thumbnails, scoped keyboard handling

README file from

Github
📌 Key Features:

🎥 Multiple Media Support: Images, videos (including YouTube), audio files, PDFs, Markdown files
💕 compareMode: Compare Before and After Images
🔍 Zoom & Pan: Explore media closely with built-in zoom and pan functionality.
🎬 Transition Effects: Fade, slide, zoom, flip, rotate, blur, squeeze, and more.
🖼️ Thumbnail Carousel: Quickly navigate slides with customizable thumbnail positioning.
✨ Enhanced View:
        🔳 Fullscreen Mode
        📋 Quick Copy Markdown Image Link
📝 Interactive Notes: Write and persistently save notes specific to each slide.
✏️ Drawing Annotations: Annotate directly onto images with drawing tools.
🌊 Audio/Video Visualizer: Dynamic waveform visualization for media playback.
▶️ Automatic Slideshow: Customizable autoplay with adjustable slideshow speed.
🔧 Customizable Compression: Optimize media quality and performance.

🎉 Enhance your Obsidian notes with seamless, interactive media experiences!

Happy sliding! 🚀

Installation

The plugin is available through Obsidian as a community plugin.

Manual installation

  1. Download the latest release files (manifest.json, styles.css, main.js) from the Releases page.
  2. Create a folder named "media-slider" in the Obsidian plugins folder (.obsidian/plugins).
  3. Copy the files from step 1 into the new folder.
  4. Enable the plugin in the Obsidian settings under the "Community plugins" section. You might have to restart Obsidian to see the plugin.

Usuage

📸 Basic Image Slider

```media-slider
![[image1.png]]
![[image2.png]]
![[image3.png]]
```

🎥 Mixed Media Support

```media-slider
![[image1.png]]
![[video1.mp4]]
![[audio1.mp3]]
![](https://…/zoom-pan.gif)
```

Supports images, videos, audio, and external URLs.

🏷️ Captions

```media-slider
![[image1.png|A beautiful sunrise]]
![[image2.png|A calm lake]]
```

Add captions to your images using the |caption syntax.

🆚 Compare Mode (Simple)

```media-slider
---
compareMode: true
---
![[before.png||1-1]]
![[after.png||1-2]]
```

Compare two images side by side.


🆚 Compare Mode (Custom Options)

```media-slider
---
compareMode: true
orientation: "horizontal"
initialPosition: 50
showLabels: true
label1: "Before"
label2: "After"
---
![[before.png||1-1]]
![[after.png||1-2]]
![[before2.png||2-1]]
![[after2.png||2-2]]
```

Customize compare mode orientation, labels, and divider position.

📂 Folder Support

```media-slider
---
fileTypes:
  - "jpg"
  - "png"
  - "mp4"

recursive: true 
# false → scan exact folder 
# true → scans subfolders as well
---
[[folder/subfolder/]]
```

Automatically include all supported media from a folder.

```media-slider
---
carouselShowThumbnails: true
thumbnailPosition: bottom #right,left, top
---
![[image1.png]]
![[image2.png]]
![[image3.png]]
```

Enable and position the thumbnail carousel.

✨ Transition Effects

```media-slider
---
transitionEffect: slide
transitionDuration: 500
---
![[image1.png]]
![[image2.png]]
```

Choose from fade, slide, zoom, flip, etc.

🔍 Zoom & Pan

```media-slider
---
enhancedView: true
---
![[image1.png]]
```

Enable zoom and pan controls for images.


📝 Interactive Notes

```media-slider
---
interactiveNotes: true
---
![[image1.png]]
![[image2.png]]
```

Add and save notes for each slide.

✏️ Drawing Annotations

Enable in plugin settings. When enabled, a drawing button appears on images for annotation.


🛠️ Full YAML Example

For advanced users, you can combine multiple options:

```media-slider
---
sliderId: my-slider
carouselShowThumbnails: true
thumbnailPosition: bottom
captionMode: overlay
autoplay: false
slideshowSpeed: 0
width: 100%
height: 300px
transitionEffect: fade
transitionDuration: 500
enhancedView: true
interactiveNotes: true
compression: 0.8
fileTypes:
  - "jpg"
  - "png"
  - "mp4"
recursive: true
compareMode: true
  orientation: "vertical"
  initialPosition: 50
  showLabels: true
  label1: "Before"
  label2: "After"
---
![[image1.png]]
![[video1.mp4]]
![[audio1.mp3]]
![[compare1.png||1-1]]
![[compare2.png||1-2]]
```

Tip:
For each feature, you can combine options as needed. See the full YAML example for how to mix and match.

YAML Metadata Options

Inside the YAML block at the top of your media-slider code block, you can customize various options:

  • sliderId:
    A unique identifier for the slider. If not set, a default ID is generated.

  • carouselShowThumbnails:
    true or false to show thumbnails below (or beside) the slider.

  • thumbnailPosition:
    Choose from top, bottom, left, or right.

  • captionMode:
    Set to overlay (caption appears on top of the media) or below (caption appears in a separate container).

  • autoplay:
    Enable automatic playback of the slideshow (true or false).

  • slideshowSpeed:
    Time (in seconds) between slides during autoplay.

  • width & height:
    Specify the dimensions of your slider (e.g., "100%" or "300px").

  • transitionEffect:
    Select the transition effect (see Transition Effects below).

  • transitionDuration:
    Duration (in milliseconds) of the transition effect.

  • enhancedView:
    If true, displays additional buttons for fullscreen mode and a copy button that copies the Markdown image link.

  • interactiveNotes:
    Enables an interactive notes panel for each media slide.


Supported Media Formats

The plugin supports a variety of file types:

  • Images: PNG, JPG, JPEG, GIF, etc
  • Videos: MP4, WebM, etc
  • Audio: MP3, OGG, WAV
  • PDFs: Displayed in an iframe
  • Markdown Files: Rendered within the slider

If a file type isn’t directly supported, a simple link will be provided.


Transition Effects

You can choose from multiple transition effects to create smooth and appealing animations between slides. Set the transitionEffect option in your YAML block to one of the following:

  • fade:
    Fades out the current slide before fading in the next.

  • slide:
    Slides the current image out and the next one in from the side.

  • zoom:
    Zooms out the current slide and then zooms in the next.

  • slide-up:
    Moves the slide upward out of view, with the next slide coming up from below.

  • slide-down:
    Moves the slide downward out of view, with the next slide coming from above.

  • flip:
    Flips the slide horizontally during transition.

  • flip-vertical:
    Flips the slide vertically.

  • rotate:
    Rotates the slide slightly before showing the next slide.

  • blur:
    Blurs the current slide during transition.

  • squeeze:
    Applies a horizontal squeeze (scaleX) effect.

Tip: Adjust the transitionDuration to control how fast or slow these effects occur.


Enhanced View

When enhancedView is enabled, you get two extra features:

  • Fullscreen Button:
    Click the ⛶ button to toggle fullscreen mode for a more immersive viewing experience.

  • Copy Button:
    Click the 📋 button to copy the Markdown image link (formatted like ![[image-link]]) to your clipboard. This is useful for easily referencing media in your notes.


Interactive Notes

If you enable interactiveNotes in your YAML metadata, a notes button (📝) will appear on the slider. Clicking it will display a text area where you can add or edit notes specific to the current slide. These notes are saved persistently and will appear again when you return to that slide.


Drawing Annotations

If you enable drawing annotations in the global plugin settings, a drawing button (✏️) will appear. Here’s how it works:

  • Start Drawing:
    Click the ✏️ button to enter drawing mode. You can annotate directly on the current image.

  • Save Drawing:
    Once done, click the button (which will change to a 💾 icon) to save your annotation.

  • Clear Drawing:
    A trash icon (🗑️) will appear if an annotation exists. Click it to remove the annotation.


Visualizer for Audio/Video

For media files that support audio or video, you can enable a wave-like visualizer:

  • Enable Visualizer:
    In the global settings, toggle Enable Visualizer to true.

  • Customization:
    You can set the visualizerColor (any valid CSS color) and visualizerHeight (e.g., "50px") from the plugin settings.

This feature creates a dynamic visualization (like an audio waveform) over the media during playback.


Thumbnails and Navigation

  • Thumbnails:
    When enabled via carouselShowThumbnails, small preview images (or placeholders for non-image media) are displayed either below, above, or beside the slider based on the thumbnailPosition option. Click a thumbnail to jump to that slide.

  • Navigation Buttons:
    Large arrows (⮜ and ⮞) are displayed on either side of the slider to move to the previous or next slide.

  • Keyboard and Touch Controls:
    You can navigate slides using the left/right arrow keys, mouse wheel, or touch gestures on mobile devices.


Automatic Slideshow

If you set the slideshowSpeed option to a value greater than 0, the slider will automatically advance to the next slide after the specified number of seconds. This is ideal for presentations or unattended displays.


The Media Slider Plugin is designed to be both flexible and easy to use. By adjusting the YAML metadata in your code blocks and tweaking global settings, you can create a rich, interactive media display experience in Obsidian. Enjoy showcasing your media with smooth transitions, interactive notes, drawing annotations, and more!

Happy sliding!


Roadmap

  • Support pasting image directly in codeblock without opening it
  • Render YouTube Videos as media-slider element
  • Customization of compression ratio
  • Support Zoom and Pan
  • CompareMode - Comparing after and before images
  • Folder Support in Codeblock - Linking all images in a folder to the slider
  • Writing Caption directly from UI

Support

If you encounter any issues or have suggestions, Create an issue on GitHub

Support the development:

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Image Window
4 years ago by Jeremy Valentine
Adds the ability to open images in new Obsidian windows
Extract PDF Annotations
4 years ago by Franz Achermann
This is a plugin for https://obsidian.md. It extracts Annotations from PDF Files.
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Notion Video Embed
4 years ago by lastknightcoder
Media DB Plugin
4 years ago by Moritz Jung
A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
Timestamp Notes
4 years ago by Julian Grunauer
This plugin allows side-by-side notetaking with videos. Annotate your notes with timestamps to directly control the video and remember where each note comes from.
Image Gallery
4 years ago by Luca Orio
A zero setup masonry image gallery for Obsidian
Raindrop Highlights
4 years ago by kaiiiz
An Obsidian.md plugin that syncs highlights from Raindrop.
Douban
4 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
Copy document as HTML
4 years ago by mvdkwast
Obsidian plugin: copy document as HTML, including images
Emo
3 years ago by yaleiyale
Use image/file hosting in Obsidian by clipboard or draging file. Obsidian 图床聚合 & Github上传器
Image Layouts
3 years ago by Luke Chadwick
Local images plus
3 years ago by catalysm, aleksey-rezvov, Sergei Korneev
This repo is a reincarnation of obsidian-local-images plugin which main aim was downloading images in md notes to local storage.
Image Captions
3 years ago by Alan Grainger
Add captions to images with inline Markdown and link support. The caption format is compatible with the CommonMark spec and other Markdown applications.
Awesome Image
3 years ago by AwesomeDog
One-stop solution for image management.
ibook
3 years ago by bingryan
export mac ibook annotations/hightlights to obsidian vault
Avatar
3 years ago by froehlichA
An obsidian plugin for displaying an avatar image in front of your notes.
Image OCR
3 years ago by kaffarell
Runs ocr on pasted images and posts result in details box. This allows to search in images.
Slide Note
3 years ago by Jinyan Xu
Interlinear Glossing
3 years ago by Mijyuoon
An Obsidian plugin for interlinear glosses used in linguistics texts.
Image To Lskypro
3 years ago by NekouTarou
支持直接上传图片到图床Lsky,基于https://github.com/renmu123/obsidian-image-auto-upload-plugin.git改造。
Cloudinary
3 years ago by Uday Samsani, Jordan Handy
Cloudinary plugin for content uploading and transformation.
Image Converter
3 years ago by xRyul
⚡️ Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align images directly in Obsidian. Drag-resize, rename with variables, batch process. WEBP, JPG, PNG, HEIC, TIF.
Media Sync
3 years ago by fnya
Media Sync is Plugin for Obsidian
Qiniu Image Uploader
3 years ago by Jade Zheng
Uploads images from your clipboard to qiniu.com and embeds uploaded image to your note.
Image2LaTEX
3 years ago by Hugo Persson
This is a plugin for obsidian that will read your latest copied image from clipboard and generate math latex from it
Markdown Image Caption
3 years ago by Hananoshika Yomaru
Generate image caption easily. Completely markdown-based.
Enhance YouTube Links
3 years ago by GitSum
Take a YouTube link and get the title and optionally channel name, channel URL, and thumbnailURL.
Image Helper
2 years ago by Chongmyung Park
Context menu to convert a image to another format in reading view in Obsidian.md
YouTube Template
2 years ago by sundevista
📺 A plugin that would help you to fetch YouTube videos data into your vault.
Image Inline
2 years ago by Zackary W
convert images into base64 encoded strings and embed them directly within your notes
Image Collector
2 years ago by tdaykin
Image Magician
2 years ago by luxmargos
This is a plugin for Obsidian (https://obsidian.md). Supports viewing and exporting various image formats using ImageMagick.
Display Relative Path Img
2 years ago by Dyc
Display the relative path image referenced by <img> in Obsidian without altering the original document
Tiff Viewer
2 years ago by Jan Ullmann
An obsidian plugin to easily convert tiff files to png so that they can be displayed in obsidian
Enhanced Annotations
2 years ago by ycnmhd
Yesterday
2 years ago by Dominik Mayer
Obsidian plugin providing Yesterday journaling support
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
VLC Bridge
2 years ago by zuluwi
An Obsidian plugin that lets you control VLC Player via Obsidian and add a timestamped link or snapshot from existing video to your note
Note Definitions
2 years ago by Dominic Let
Obsidian plugin for seamless viewing of personal definitions
Plugins Annotations
2 years ago by Andrea Alberti
Obsidian plugin that allows adding personal comments to each installed plugin.
mpv links
2 years ago by patsh90
Obisidian plugin for creating and using video links
Image Metadata
2 years ago by alexeiskachykhin
Adds image metadata editing capabilities to Obsidian
Lite Gallery
2 years ago by Jordan Poles
Fast Image Auto Uploader
2 years ago by Longtao Wu
upload images from your clipboard by gopic
Geulo
2 years ago by Junyoung Bang
Extension for pulling and syncing the videos that you liked in Youtube to Obsidian vault.
PDF Highlights
5 years ago by Alexis Rondeau
Extract highlights, underlines and annotations from your PDFs into Obsidian
Media Extended
5 years ago by AidenLx
Transform your Obsidian into a powerful video note-taking tool. 🖇️🗂️⏯️
Image in Editor
5 years ago by Ozan Tellioglu
This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
Clear Unused Images
5 years ago by Ozan Tellioglu
Obsidian plugin to clear the images that are not used in note files anymore
Image auto upload
5 years ago by renmu123
auto upload image with picgo
Image Context Menus
5 years ago by NomarCub
Image Context Menus - Obsidian.md image context menus: copy, open in default app, show in system explorer, reveal in navigation context menu. Also Open PDF externally context menu.
Image Toolkit
5 years ago by sissilab
An Obsidian plugin for viewing an image.
Annotator
5 years ago by Elias Sundqvist
A plugin for reading and annotating PDFs and EPUBs in obsidian.
Banners
5 years ago by Danny Hernandez
An Obsidian plugin that adds banners to your notes
Markmind
5 years ago by Mark
A mind map, outline for obsidian,It support mobile and desktop
Local images
5 years ago by catalysm, aleksey-rezvov
Hypothes.is
5 years ago by weichenw
An Obsidian.md plugin that syncs highlights from Hypothesis.
Cloudinary Uploader
5 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Mousewheel Image zoom
5 years ago by Nico Jeske
An Obsidian plugin that enables you to increase/decrease the size of an image by holding down a configurable key (defaults to left alt), hovering over an image in preview mode and scrolling.
Enhanced Image
2 years ago by situ2001
Enhance the experience of image in Obsidian, seamlessly.
Pixel Banner
2 years ago by Justin Parker
🚩 Enhance your Obsidian notes with customizable banner images, including AI-generated designs and a curated store of downloadable banners. Transform your workspace with visually stunning headers that add context, improve aesthetics, and take your note-taking beyond the ordinary.
Find Orphaned Images
2 years ago by Josmar Cristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
PDF2Image
2 years ago by RasmusAChr
Arweave Uploader
2 years ago by makesimple
Featured Image
2 years ago by Johan Sanneblad
Obsidian plugin to automatically set a featured image property in your notes based on the first image, YouTube link, or Auto Card Link image found in your document. This allows you to create rich note galleries using Folder Notes and Dataview.
Image Tools
2 years ago by Andrey Serov
Image Uploader For Note
a year ago by Yunfi
Upload images in a note, and if the image is only used in this note, delete it from vault.
ShaahMaat-md
a year ago by Mihail Kovachev
Media Companion
a year ago by Nick de Bruin
Readeck Importer
a year ago by Makebit
Import bookmarks from Readeck to Obsidian
Feedly Annotations Sync
a year ago by Nick Felker
Download my Feedly annotations
PDF Writer
a year ago by Jobelin Kom
Obsidian plugin To write and fill a PDF
Paste Image Into Property
a year ago by Nito
Waveform Player
a year ago by Zhou Hua
Image Picker
a year ago by ari.the.elk
Annotate Audio
a year ago by VidE
Image to HTML
a year ago by 0x1DA9430
A plugin for Obsidian that converts pasted images to HTML format instead of Obsidian's wikilink or Markdown format
Xiaohongshu Importer
a year ago by bnchiang96
An Obsidian plugin to import Xiaohongshu (小红书) notes into your vault. Extract titles, content, images, videos, and tags from share links, with customizable categories and optional local media downloads.
Cubox
a year ago by delphi-2015
Cubox Official Obsidian Plugin
Card Viewer
7 months ago by vsme
一个用于在 Obsidian 中解析和查看电影、电视剧、书籍、音乐和 HTML 内容卡片的插件。
SideNote
6 months ago by mofukuru
Obsidian plugin: Add comment on the part of sentence and refer in comment view.
AI Transcriber
4 months ago by Musashino Software
AI-powered speech-to-text transcription using OpenAI GPT-4o and Whisper APIs
Memories
4 months ago by DIMFLIX
Plugin to display a gallery directly in a note.
TikToker
2 months ago by ameyxd
Save TikTok videos as markdown notes with embedded content and metadata extraction.