Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

sanity-media-library-mux-playback

스타16
포크7
업데이트2026년 7월 7일 16:25

Display Sanity Media Library videos in a frontend using Mux Player. Covers the recommended GROQ `documents::get()` pattern for fetching playback id + aspect ratio in a single query, the alternative `client.mediaLibrary.video .getPlaybackInfo()` runtime call, schema setup with `defineVideoField`, signed playback handling, and common pitfalls (library-id regex strictness, TypeGen returning `unknown` for cross-resource projections, response shape confusion). Use when adding video playback to an SDK app or web frontend, building a `VideoPlayer` component, fetching `videoAsset` data from a Media Library video field, debugging "Invalid video asset instance identifier" errors, or wiring `@mux/mux-player-react` to Sanity content.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly