Update item.tpl.html

This commit is contained in:
noxy 2016-10-20 22:32:30 +00:00
parent 55593e5c57
commit 3e260d6178

View File

@ -21,7 +21,7 @@
{% elseif item == "audio" %} {% elseif item == "audio" %}
<audio id="audioplayer" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio> <audio id="audio" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% 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 %}
@ -68,7 +68,7 @@
video.volume = 0.3; video.volume = 0.3;
window.onload = function() { window.onload = function() {
var audio = document.getElementById('audioplayer'); var audio = document.getElementById('audio');
audio.volume = 0.3; audio.volume = 0.3;
} }
</script> </script>