Skip to content

Commit

Permalink
fixed audio not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
f00d4tehg0dz committed Jun 7, 2024
1 parent 606db6f commit c7aff92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/WheelComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const playSound = () => {
}
onMounted(() => {
mp3.value = new Audio('/src/assets/music/thewheelhausaudio.mp3')
mp3.value = new Audio('../music/thewheelhausaudio.mp3')
mp3.value.addEventListener('canplaythrough', () => {
console.log('Audio file can be played through without stopping')
})
Expand Down Expand Up @@ -166,9 +166,9 @@ onMounted(() => {
display: block;
position: absolute;
width: 100%;
background-image: url(../images/overlay_bg.png);
background-repeat: no-repeat;
background-size: 100% 1080px;
/* background-image: url(../images/overlay_bg.png); */
/* background-repeat: no-repeat;
background-size: 100% 1080px; */
}
.skills-wheel {
Expand Down

0 comments on commit c7aff92

Please sign in to comment.