Update item.tpl.html
This commit is contained in:
parent
0ab82c897b
commit
4bf8eab7ad
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user