Fix no src reloading when changing page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-04-17 15:13:33 +02:00
parent 1a072203a8
commit 860e035d2c

View File

@ -26,9 +26,7 @@
<Row class="mt-3 mb-5"> <Row class="mt-3 mb-5">
<Col> <Col>
<div class="ratio ratio-16x9 mb-3"> <div class="ratio ratio-16x9 mb-3">
<video controls autoplay poster={$videos.idx_videos[video_id].thumb}> <video controls autoplay poster={$videos.idx_videos[video_id].thumb} src={$videos.idx_videos[video_id].url} />
<source src={$videos.idx_videos[video_id].url} type="video/mp4">
</video>
</div> </div>
{#if $videos.idx_videos[video_id].title} {#if $videos.idx_videos[video_id].title}
<h1> <h1>