Repository navigation
Releases: rokokol/obsidian-media-gallery
Releases · rokokol/obsidian-media-gallery
Release list
2.0.4
Full Changelog: 2.0.3...2.0.4
2.0.3
2.0.2
Media Gallery 2.0.2
Fixed
- Mobile video previews no longer show a black placeholder (the native "play triangle") before the first tap. Each grid video now captures and displays a real poster frame. Mobile webviews only decode a frame once playback starts, so the previous
#t=0.1trick left a blank placeholder — a bug invisible on desktop and in DevTools device emulation.
Changed
- On mobile, grid videos no longer autoplay inline (distracting and battery-hungry). Tiles show a static poster frame; playback opens in the full-screen player on tap. Posters are captured lazily as tiles near the viewport to stay under the platform’s simultaneous-decode limit. Desktop keeps hover-to-play.
- Added a Vitest suite for the poster-capture helper.
Install: copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/media-gallery/.
2.0.1
Media Gallery 2.0.1
Fixed
- Mobile video previews no longer show a blank/white screen with native player chrome. Previews now render a poster frame and autoplay inline (muted, looped) while on screen, pausing when scrolled away.
- Removed event-listener and object-URL leaks; artwork URLs are now released on plugin unload instead of on unrelated vault events.
- Added error handling to async media loads and hardened the audio-preview race guard.
Changed
- Internal cleanup: shared utilities and modal scaffold, named audio-visualization constants, dead code removed.
- Strict linting (typescript-eslint strict + full obsidianmd) and
strictTypeScript. - Added a Vitest unit-test suite and a GitHub Actions CI workflow.
- Visual polish: hover lift/zoom, loading skeletons, frosted modal backdrops, larger mobile tap targets.
Install: copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/media-gallery/.
2.0.0 — First Media Gallery release
Media Gallery 2.0.0
First Media Gallery release by rokokol, based on the
original obsidian-image-gallery plugin by Luca Orio.
Highlights
- Renamed and repackaged as
Media Gallery - Added support for images, GIFs, videos, and audio
- Added
media-galleryas the preferred fenced block alias - Kept backward compatibility with
img-galleryandimg-gal - Added mixed galleries with
pathand explicit embeds in the
same block - Added folder patterns:
folder/*folder/**- flexible wildcard matching
- Added filters:
extensionsexclude
- Added random ordering with:
sortby: randsortby: random- optional
seed
- Added
limit - Added image zoom and improved media preview behavior
- Added audio cards with playback, metadata, embedded cover art,
waveform, and spectrogram support - Added plugin settings for cache, audio visualizations,
autoplay, and flexible path matching - Improved performance for gallery rendering and audio
visualizations - Empty gallery blocks now render nothing instead of falling
back to vault-wide output
Attribution
This project is based on the original obsidian-image-gallery
by Luca Orio.
- Original project:
https://github.com/lucaorio/obsidian-image-gallery - Original license: MIT
Version lineage
1.0.0–1.1.1— originalobsidian-image-galleryreleases
by Luca Orio2.0.0— firstMedia Galleryrelease byrokokol