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,11 +55,10 @@ a:hover {
.medium, .thumbnail {
display: flex;
justify-content: center;
/* align-items: center; */
margin-top: 5px;
}
.info {
/* text-align: center; */
padding-top: 5px;
padding-top: 5px;
}
.id {
text-align: center;
@ -84,10 +83,10 @@ code {
}
.panel {
margin-bottom: 0;
background-color: rgba(34, 34, 34, 0.61);
border: 5px solid #383838;
border-radius: 0px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0;
background-color: rgba(34, 34, 34, 0.61);
border: 5px solid #383838;
border-radius: 0px;
padding-left: 10px;
padding-right: 10px;
}