UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

22 lines (21 loc) 752 B
import { jsx } from "react/jsx-runtime"; import { c } from "react/compiler-runtime"; import MuxPlayer from "@mux/mux-player-react"; function VideoPlayer(t0) { const $ = c(5), { customDomain, playbackId, tokens } = t0; let t1; $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = { position: "absolute", inset: 0 }, $[0] = t1) : t1 = $[0]; let t2; return $[1] !== customDomain || $[2] !== playbackId || $[3] !== tokens ? (t2 = /* @__PURE__ */ jsx(MuxPlayer, { customDomain, theme: "sutro", playbackId, tokens, autoPlay: !1, loop: !1, style: t1 }), $[1] = customDomain, $[2] = playbackId, $[3] = tokens, $[4] = t2) : t2 = $[4], t2; } export { VideoPlayer }; //# sourceMappingURL=VideoPlayer.js.map