fix: video src used movie.id but movie is already the UUID string
All checks were successful
Build and Push Backend Image / build (push) Successful in 17s
Build and Push Frontend Image / build (push) Successful in 4m18s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 21:27:06 +01:00
parent df89cc59f5
commit 124f0bfb22

View File

@@ -165,7 +165,7 @@ let showPlayer = $state(false);
<media-controller> <media-controller>
<video <video
slot="media" slot="media"
src={getAssetUrl(data.video.movie.id)} src={getAssetUrl(data.video.movie)}
poster={getAssetUrl(data.video.image, 'preview')} poster={getAssetUrl(data.video.image, 'preview')}
autoplay autoplay
ontimeupdate={handleTimeUpdate} ontimeupdate={handleTimeUpdate}
@@ -196,7 +196,7 @@ let showPlayer = $state(false);
aria-label={data.video.title} aria-label={data.video.title}
data-umami-event="play-video" data-umami-event="play-video"
data-umami-event-title={data.video.title} data-umami-event-title={data.video.title}
data-umami-event-id={data.video.movie.id} data-umami-event-id={data.video.movie}
onclick={() => (showPlayer = true)} onclick={() => (showPlayer = true)}
> >
<span class="icon-[ri--play-large-fill] w-10 h-10 text-white" <span class="icon-[ri--play-large-fill] w-10 h-10 text-white"
@@ -208,7 +208,7 @@ let showPlayer = $state(false);
aria-label={data.video.title} aria-label={data.video.title}
data-umami-event="play-video" data-umami-event="play-video"
data-umami-event-title={data.video.title} data-umami-event-title={data.video.title}
data-umami-event-id={data.video.movie.id} data-umami-event-id={data.video.movie}
onclick={handlePlay} onclick={handlePlay}
> >
<div <div