Skip to content
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

Ability to stop audio ontouchend #4

Open
pseudojk opened this issue Dec 12, 2013 · 0 comments
Open

Ability to stop audio ontouchend #4

pseudojk opened this issue Dec 12, 2013 · 0 comments

Comments

@pseudojk
Copy link

I really like lowLag.js. It's great for reducing latency on clicks and also seems to work with ontouchstart, however I'd like to be able to stop the sound on touchend. This way a sound plays for as long as the user holds down their finger in iOS/Android. Is there a way I could implement this functionality? Ive researched a bit about webkit audio and can't find much about stopping sounds on touchend.

I've been able to make touchstart/end work as desired with https://github.com/pupunzi/jquery.mb.audio but it still has the latency problem that I was hoping I could avoid with lowLag. Any advice is greatly appreciated, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant