thumbnail above audioplayer

This commit is contained in:
Flummi 2016-10-21 23:41:05 +02:00
parent 2578a97b0c
commit 9c44e447ba
2 changed files with 14 additions and 13 deletions

View File

@ -22,11 +22,13 @@
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %}
{% if thumb != null %}
<!--<div class="audiothumbnail">-->
<img src="{{ thumb }}" />
<!--</div>-->
<div class="audiothumbnail">
<img src="{{ thumb }}" /><br />
{% endif %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% if thumb != null %}
</div>
{% endif %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio><br />
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %}

View File

@ -55,10 +55,9 @@ a:hover {
.medium, .thumbnail {
display: flex;
justify-content: center;
/* align-items: center; */
margin-top: 5px;
}
.info {
/* text-align: center; */
padding-top: 5px;
}
.id {