Find alternative to popup #17
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
wish/freakybob.site#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The popup is starting to make my PC unable to locally test new builds. (lag)
Possible Solutions
Alr, So the popup is meant to activate the music since the bug did not allow it to play. I think this is a great idea plus we know more code so we could probably fix it. The popup can be taken away but we probably do the thing when the music plays only when you interact with the screen.
Tho let's figure it out once I finish everything plz ^^
Solution found
const ks = new Audio('https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_700KB.mp3')
let userinteraction = 0
document.addEventListener('click',()=>{
if(userinteraction) return;
userinteraction++;
ks.play()
})