feat: add slider preview thumbnails (#935)

This commit is contained in:
Sam Potts
2026-03-14 08:30:51 +11:00
committed by GitHub
parent dc12cc2162
commit e3f438e9f4
51 changed files with 551 additions and 58 deletions
@@ -0,0 +1,9 @@
import { getMuxAssetId } from '../mux';
import type { SourceId } from '../sources';
export function renderMuxStoryboard(source: SourceId): string {
const id = getMuxAssetId(source);
return id
? `<track kind="metadata" label="thumbnails" src="https://image.mux.com/${id}/storyboard.vtt" default />`
: '';
}