Skip to content

Commit

Permalink
mute the bgm by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alex2wong committed Jun 9, 2019
1 parent 8e82f7e commit f49de98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@
onchange="toggleTerrain()" checked disabled>
<label for="toggleTerrain">toggle terrain</label>
<iframe src="assets/silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>
<audio id="player" autoplay loop>
<audio id="player" autoplay loop muted>
<source src="assets/Ramin Djawadi - Game Of Thrones.mp3" type="audio/mp3">
</audio>
</div>
<div class='map-overlay-container'>
<div class='map-overlay'>
<div>
<span id='app-title'>Game of Throne Interactive Map</span>
<svg id="muteBtn" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" t="1558261737436" class="icon" style="fill:rgb(199, 199, 199)" viewBox="0 0 1024 1024" version="1.1" p-id="2339" width="16" height="16"><defs><style type="text/css"/></defs><path d="M846.208 512 979.744 378.464C994.144 364.064 995.488 342.016 982.752 329.248 969.984 316.512 947.936 317.856 933.536 332.256L800 465.792 666.464 332.256C652.064 317.856 630.016 316.512 617.248 329.248 604.512 342.016 605.856 364.064 620.256 378.464L753.792 512 620.256 645.536C605.856 659.936 604.512 681.984 617.248 694.752 630.016 707.488 652.064 706.144 666.464 691.744L800 558.208 933.536 691.744C947.936 706.144 969.984 707.488 982.752 694.752 995.488 681.984 994.144 659.936 979.744 645.536L846.208 512 846.208 512ZM480 128 256 277.344 256 746.656 480 896C515.328 896 544 867.328 544 832L544 192C544 156.672 515.328 128 480 128L480 128ZM32 384 32 640C32 675.328 60.672 704 96 704L192 704 192 320 96 320C60.672 320 32 348.672 32 384L32 384Z" p-id="2340"/></svg>
<svg id="muteBtn" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" t="1558261737436" class="icon" style="fill:rgb(63, 81, 181);" viewBox="0 0 1024 1024" version="1.1" p-id="2339" width="16" height="16"><defs><style type="text/css"/></defs><path d="M846.208 512 979.744 378.464C994.144 364.064 995.488 342.016 982.752 329.248 969.984 316.512 947.936 317.856 933.536 332.256L800 465.792 666.464 332.256C652.064 317.856 630.016 316.512 617.248 329.248 604.512 342.016 605.856 364.064 620.256 378.464L753.792 512 620.256 645.536C605.856 659.936 604.512 681.984 617.248 694.752 630.016 707.488 652.064 706.144 666.464 691.744L800 558.208 933.536 691.744C947.936 706.144 969.984 707.488 982.752 694.752 995.488 681.984 994.144 659.936 979.744 645.536L846.208 512 846.208 512ZM480 128 256 277.344 256 746.656 480 896C515.328 896 544 867.328 544 832L544 192C544 156.672 515.328 128 480 128L480 128ZM32 384 32 640C32 675.328 60.672 704 96 704L192 704 192 320 96 320C60.672 320 32 348.672 32 384L32 384Z" p-id="2340"/></svg>
</div>
<p id='location-description'>loading data...</p>
<div class="btn-container">
Expand Down

0 comments on commit f49de98

Please sign in to comment.