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

Not working on mobile chrome #94

Closed
guruganeshm opened this issue Apr 19, 2015 · 9 comments
Closed

Not working on mobile chrome #94

guruganeshm opened this issue Apr 19, 2015 · 9 comments

Comments

@guruganeshm
Copy link

No description provided.

@jaysalvat
Copy link
Owner

Ok.
Could you please tell me more?

Is the last version working?

@guruganeshm
Copy link
Author

Hi Jay
I used Buzz js via a package from the https://atmospherejs.com/brentjanderson/buzz for a Meteor js Project, It works fine on desktop, but not on mobile, I don't know what's wrong here.

@mikob
Copy link

mikob commented Apr 21, 2015

@jaysalvat recently, the library stopped working for the iPad (tested in mobile safari and chrome). In some cases it fails on safari on the desktop (like with the example below)... but I can get it working on safari for the desktop when the sound file is hosted locally. It's all quite perplexing :)

Interestingly, the demo still works in these cases. Here is a simple example with the latest 1.1.10 version, that doesn't work in mobile safari or mobile chrome on an iPad, or desktop safari (tested on windows and mac): http://jsbin.com/haluyoceza/1/edit

#80 #58

@jaysalvat
Copy link
Owner

Hello @mikob.

As Buzz doc says:
http://buzz.jaysalvat.com/documentation/sound/
"* NOTE: In order to save bandwidth, mobile devices don't load/play sounds without user intervention (no autoplay). iPhone and iPad can only play one sound at a time and don't allow to change the volume dynamically. iPad has some issues with multiple sounds on the same page."

Try to trigger a sound with a click.

@guruganeshm
Copy link
Author

Hi @jaysalvat .
Question regarding your latest comment above, by triggering with a click may increase weight to DOM Manipulation & I don't think that's a precise solution, what about Android browsers ?

@mikob
Copy link

mikob commented Apr 22, 2015

@jaysalvat thank you. I somehow missed that page on the documentation. That answers all my questions. @guruganeshm it seems both safari and chrome mobile disable autoplay on any platform. Opera mobile might behave differently.

@jaysalvat
Copy link
Owner

Thanks guys.

As @mikob says both safari and chrome mobile disable autoplay on any platform.

So I close the issue :)

@guruganeshm
Copy link
Author

@mikob then what's the solution ? I don't have any idea, If you made it work on mobile devices somehow, please show me the code.
Thanks.

@jaysalvat
Copy link
Owner

There is no solution. Smartphones don't allow autoplay and autoload.
Can't do much on that.
An user interaction is required.

Sorry.

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

3 participants