Merge branch 'f0ckdev' of gitfap.de:keinBot/keinBotv2 into f0ckdev

This commit is contained in:
Flummi 2016-10-21 01:42:30 +02:00
commit 3ca6299ba8

View File

@ -14,11 +14,11 @@
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video> <video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %} {% elseif item == "audio" %}
{% if thumb != null %} {% if thumb != null %}
<div class="thumbnail"> <!--<div class="audiothumbnail">-->
<img src="{{ thumb }}" /> <img src="{{ thumb }}" />
</div> <!--</div>-->
{% endif %} {% endif %}
<audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio> <audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio><br />
{% elseif item == "image" %} {% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a> <a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %} {% else %}
@ -62,7 +62,10 @@
}); });
} }
var video = document.getElementById('player'); var video = document.getElementById('player');
video.volume = 0.5; video.volume = 0.3;
var x = document.getElementById("player");
x.volume = 0.3;
</script> </script>
</body> </body>
<! Fuck git… seriously--> <! Fuck git… seriously-->