-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If on click loop true #66
Comments
Hello, you should name sound you want to play and loop. Like this: |
Actually i want make this effect to all songs how should i do that ?. |
What about i give a alias to all sounds and i called by the code above ? should work right ? |
You can try to call play without name. It should play all sounds with given config. |
How should i give a config ? |
Try like this: ion.sound.play({...}); without name. It should play all. |
Where is the loop:true ? |
This the loop true it's a option for the user, this what i want |
|
I haved add this code |
What about |
Please describe app logic one more time |
It's a Drumpad |
More information about logic. What are the buttons what they should do? |
I made 2 button one for looping all time and one for looping 2 time |
And what does this buttons do? Set loop to true and play some sound? |
Exact. |
|
Should i adding it by onclick in the html button ? |
Yes, i think all other code you should write by yourself) |
Ok i will try |
Hi, please provide simplified online demo. I will check. |
http://Kl3ps0.esy.es/projects/drumpad/v2/ |
I will check this on weekend. |
Hey, i've made a drumpad site, now i made a button with id looping, i want when the user clicking on the sound button "Onclick only" the sound looping for infinity
this my javascript code :
How can i make this work ?
The text was updated successfully, but these errors were encountered: