From b82b6dba7aff5a7febaef654bf9a7a158257fe5b Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sat, 14 Mar 2026 10:23:36 +1100 Subject: [PATCH] fix(sandbox): use getMuxPosterSrc (#950) --- packages/sandbox/app/shared/react/mux-poster.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/sandbox/app/shared/react/mux-poster.tsx b/packages/sandbox/app/shared/react/mux-poster.tsx index ce7d2f02..ad8fb79c 100644 --- a/packages/sandbox/app/shared/react/mux-poster.tsx +++ b/packages/sandbox/app/shared/react/mux-poster.tsx @@ -1,6 +1,6 @@ import { Poster } from '@videojs/react'; -import { getMuxAssetId } from '../mux'; +import { getMuxPosterSrc } from '../mux'; import type { SourceId } from '../sources'; type MuxPosterProps = { @@ -8,7 +8,7 @@ type MuxPosterProps = { }; export function MuxPoster({ source }: MuxPosterProps) { - const id = getMuxAssetId(source); - if (!id) return null; - return ; + const src = getMuxPosterSrc(source); + if (!src) return null; + return ; }