- 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"
Jump to navigation
Jump to search
Gensui Hime (talk | contribs) m |
Gensui Hime (talk | contribs) |
||
(4 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').muted=!document.getElementById('player').muted">Mute</button> | |
− | <button onclick="document.getElementById('player').muted=!document.getElementById('player').muted">Mute | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<script> | <script> | ||
− | + | var audioplayer = document.getElementById("player"); | |
− | var | + | player.volume = 0.25; |
− | + | </script> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> |
Latest revision as of 06:15, 1 November 2020
Test