Update sound
This commit is contained in:
parent
c2f72681b8
commit
0d2de36d35
3 changed files with 6 additions and 6 deletions
|
|
@ -106,12 +106,12 @@ function toggleZoom(){
|
|||
|
||||
const sound_src = (() => {
|
||||
const pathname = window.location.pathname;
|
||||
if (pathname.indexOf('about') != -1){
|
||||
return new Audio('/src/sound/test_sound.mp3');
|
||||
} else if (pathname.indexOf('particiapnts') != -1){
|
||||
return new Audio('/src/sound/test_sound.mp3');
|
||||
}
|
||||
return new Audio('/src/sound/test_sound.mp3');
|
||||
// if (pathname.indexOf('about') != -1){
|
||||
// return new Audio('/src/sound/fragments000.mp3');
|
||||
// } else if (pathname.indexOf('particiapnts') != -1){
|
||||
// return new Audio('/src/sound/fragments000.mp3');
|
||||
// }
|
||||
return new Audio('/src/sound/fragments000.mp3');
|
||||
})();
|
||||
|
||||
|
||||
|
|
|
|||
BIN
test_data/src/sound/fragments000.mp3
Normal file
BIN
test_data/src/sound/fragments000.mp3
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue