Media Preview

Previews images, video, audio, documents and code in the Payload admin panel

Verified 14 217/wk MIT v1.1.1

Installation

pnpm add @seshuk/payload-plugin-media-preview

About

Media Preview lets editors see files in the Payload admin panel that Payload cannot display on its own. Text files, code, CSV, Office documents and PDFs open in a preview inside the edit view, with syntax highlighting for code and a table layout for CSV. Upload collections can also get a preview column in the list view, which opens a floating popup on desktop or a fullscreen modal on mobile. Files with no viewer show a download card instead.

Office documents can be rendered through Microsoft or Google's online viewers when you turn that on, and you can plug in your own viewers through adapters. The plugin stores no extra database fields, so existing upload collections keep their data as it is.

Package info

Package name
@seshuk/payload-plugin-media-preview
Latest version
1.1.1
Unpacked size
101 kB
License
MIT
Weekly downloads
217
Last publish
Jun 14, 2026

More from maximseshuk

View profile

Finds orphaned files and unreferenced documents, then deletes only what you approve

Builds sitemap.xml files from Payload content and keeps them fresh

Generates an OpenAPI spec from your Payload config and serves it with Scalar or Swagger UI

Stores Payload uploads and streams video on Bunny.net's global CDN

Similar plugins

More in Media

Live aspect ratio previews with crop and focal point editing for image uploads

Search Unsplash, Pexels and Pixabay stock images and videos from upload collections

Lets editors crop uploaded images in a modal and generates resized variants per preset

Curated YouTube creator watchlist with per-channel rules, a review queue and click-to-play embeds

Grid gallery with lightbox and bulk upload for a Payload upload collection

Read-only previews of uploaded documents in the admin, including Office files and PDFs