fix: pass error data to video player template

This commit is contained in:
2026-06-16 17:25:21 +02:00
committed by Milas Holsting
parent 2f41e95864
commit 1c286e0194
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
<div id="watch-layout" class="flex h-full flex-col gap-6 overflow-y-auto lg:grid lg:grid-cols-[minmax(0,min(calc(100%_-_24rem_-_3rem),calc((100dvh-10.5rem)*16/9)))_24rem] lg:items-start lg:gap-x-12 lg:gap-y-0 lg:overflow-hidden">
<div class="min-w-0">
<div id="video-player-container">
{{template "video_player" dict "WatchData" .WatchData "TotalEpisodes" $totalEpisodes}}
{{template "video_player" dict "WatchData" .WatchData "TotalEpisodes" $totalEpisodes "Error" .Error}}
</div>
<div class="mt-3 flex flex-wrap items-center justify-between gap-3">