Update item.tpl.html

This commit is contained in:
noxy 2016-10-20 22:49:38 +00:00
parent 0ab82c897b
commit 4bf8eab7ad

View File

@ -21,7 +21,7 @@
{% elseif item == "audio" %}
<audio id="myAudio" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %}
@ -67,7 +67,7 @@
var video = document.getElementById('player');
video.volume = 0.3;
var x = document.getElementById('myAudio');
var x = document.getElementById("player");
x.volume = 0.2;
</script>
</body>