fix video source path
This commit is contained in:
parent
e30926e36c
commit
359a991984
|
@ -12,7 +12,7 @@
|
||||||
<img class="mx-auto w-2/3 md:w-3/5 lg:w-2/5 rounded" src="../{{id}}/thumbnail" alt="{{name}}">
|
<img class="mx-auto w-2/3 md:w-3/5 lg:w-2/5 rounded" src="../{{id}}/thumbnail" alt="{{name}}">
|
||||||
{% elif media.video %}
|
{% elif media.video %}
|
||||||
<video id="my-video-player" class="mx-auto rounded" controls poster="../{{id}}/thumbnail">
|
<video id="my-video-player" class="mx-auto rounded" controls poster="../{{id}}/thumbnail">
|
||||||
<source src="/{{id}}/download" type="{{ media.type }}" />
|
<source src="../{{id}}/download" type="{{ media.type }}" />
|
||||||
</video>
|
</video>
|
||||||
{% elif media.audio %}
|
{% elif media.audio %}
|
||||||
<audio class="mx-auto" controls autoplay muted src="../{{id}}/download" type="{{ media.type }}"></audio>
|
<audio class="mx-auto" controls autoplay muted src="../{{id}}/download" type="{{ media.type }}"></audio>
|
||||||
|
|
Loading…
Reference in New Issue