Media Library: PDF previews, signed URLs, static video renditions, and draft indicators

This update introduces signed URLs for secure, time-limited asset sharing, static MP4 renditions for videos, PDF preview thumbnails, faster video processing feedback, and clearer draft state visibility with bulk publishing support.

Signed URLs for secure access

You can now generate signed URLs for your Media Library assets—secure links that expire after a set time. Use them to share assets privately without making them public, grant temporary access to sensitive files, or control exactly how long a link stays active.

Key management in the app. Create and manage signing keys directly in Media Library. Click the library name in the header → Signing keys to create new keys or revoke keys you no longer need.

Generate signed URLs using the @sanity/signed-urls package:

Static video renditions

When you upload a video, Media Library now generates static MP4 files at three resolutions: 1080p, 480p, and 270p. Unlike streaming URLs, these are permanent and stable—the URL never changes once generated. This makes them ideal for embedding on external websites, linking from QR codes in printed materials, or downloading for social media uploads.

Access these URLs through the new Copy URL submenu in the asset context menu, which consolidates all URL copying options in one place.

PDF previews

PDFs now display a preview thumbnail generated from the first page. See your documents at a glance in the asset grid instead of generic file icons.

Unknown block type "muxVideo", specify a component for it in the `components.types` option

Faster video preview thumbnails

Video preview thumbnails now appear in the asset grid and upload dialog as soon as processing completes—no more waiting or refreshing to see them.

Draft indicators and bulk publishing

Assets with pending edits now show a clear draft indicator in asset lists. Changes made through bulk edit apply immediately to drafts, so you can select multiple assets, make your edits, and bulk publish when ready.

🐛 Notable bugfixes

Fixed instances where assets would not display their latest state

Fixed publish action count in bulk edit showing incorrect numbers

Improved array field handling in bulk edit