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 in iPhone browsers #80

Open
debotos opened this issue Feb 1, 2020 · 2 comments
Open

Not working in iPhone browsers #80

debotos opened this issue Feb 1, 2020 · 2 comments

Comments

@debotos
Copy link

debotos commented Feb 1, 2020

I tried in android devices browser(Chrome) it's working. But in the iPhone browser(Safari, Chrome) loading never finish. By the way, it's working on the Macbook Safari browser.

@jnarwold
Copy link

@debotos Were you able to find a workaround for this?

@ryokkkke
Copy link

I found that iPhone Safari doesn't load multimedia data automatically.
So this is one workaround:

React.useEffect(() => {
  // when dealing with audio
  const audioElement = document.querySelector("audio");
  // load data explicitly
  audioElement?.load();
},[]);

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