Update item.tpl.html
This commit is contained in:
parent
0ab82c897b
commit
4bf8eab7ad
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
{% elseif item == "audio" %}
|
{% 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" %}
|
{% 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 %}
|
||||||
@ -67,7 +67,7 @@
|
|||||||
var video = document.getElementById('player');
|
var video = document.getElementById('player');
|
||||||
video.volume = 0.3;
|
video.volume = 0.3;
|
||||||
|
|
||||||
var x = document.getElementById('myAudio');
|
var x = document.getElementById("player");
|
||||||
x.volume = 0.2;
|
x.volume = 0.2;
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user