• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Widget:AudioPlayer"

From Kancolle Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
<div>
 
<div>
 
     <button onclick="document.getElementById('player').play()">Play</button>
 
     <button onclick="document.getElementById('player').play()">Play</button>
    <button onclick="document.getElementById('player').pause()">Pause</button>
+
     <button onclick="document.getElementById('player').muted=!document.getElementById('player').muted">Mute</button>
     <button onclick="document.getElementById('player').muted=!document.getElementById('player').muted">Mute/ Unmute</button>
 
 
</div>
 
</div>
 +
 +
<script>
 +
    var audioplayer = document.getElementById("player");
 +
    player.volume = 0.25;
 +
</script>
 +
 
</includeonly>
 
</includeonly>

Latest revision as of 06:15, 1 November 2020

Test