fix: pass error data to video player template
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user