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

Crossfade with html5 audio on mobile device #335

Closed
ghost opened this issue Aug 19, 2015 · 2 comments
Closed

Crossfade with html5 audio on mobile device #335

ghost opened this issue Aug 19, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 19, 2015

Hey, I tried this:

#146

And it works beautifully on PC and mobile but if I add "buffer: true" to it, it stops working for mobile. I'd like to use HTML5 as it's buffer makes the sounds start much faster.

@juhani-prospercart
Copy link

I forgot that you need user input for it to work.

But now that I fixed it the lag is terrible. The script crashes my whole phone.

@goldfire
Copy link
Owner

I would strongly suggest not using HTML5 audio on mobile unless there is a specific need for it. The implementation on both iOS and Android is pretty bad.

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

2 participants