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

No Safari/Chrome iOS 12-13-14, but works on 15-16 #82

Open
pmp-p opened this issue Apr 6, 2023 · 2 comments
Open

No Safari/Chrome iOS 12-13-14, but works on 15-16 #82

pmp-p opened this issue Apr 6, 2023 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@pmp-p
Copy link
Member

pmp-p commented Apr 6, 2023

It seems on some safari versions ( mobile ?) automatic media startup fails and block whole startup process when it's not the whole WASM engine ! ( iOS <15 )

The actual process is :

  1. load an empty.ogg sound and try to play it, catching exception to set a lock.
  2. repeat until unlock media play success while displaying the prompt in loading screen ( template default.tmpl )
  3. continue and give hand to python code (main.py).

for safari it probably should be:

  1. detect safari and do nothing if matching.
  2. Display a prompt in loading screen, wait for a mouse click (same event for one finger touch )
  3. continue and give hand to python code (main.py).

This would not work if navigator user agent is faked, but unlikely to happen on iOS.

@pmp-p pmp-p added bug Something isn't working help wanted Extra attention is needed labels Apr 6, 2023
@pmp-p
Copy link
Member Author

pmp-p commented Aug 26, 2023

please report iOS/OSX version status

Opera 101 (BigSur) : OK

Safari 17 (Snonoma) : Wasm/Webgl OK , ume fail

iOS 16 : Wasm/Webgl OK , ume fail
iOS 15 (iphone13) : Wasm/Webgl OK , ume fail
iOS 14 (iphone12) : invalid Wasm build
iOS 13 (iphone11) : invalid Wasm build
iOS 12 (iphone6) : invalid Wasm build

@pmp-p pmp-p changed the title safari startup safari iOS problemactic startup Aug 26, 2023
@pmp-p pmp-p changed the title safari iOS problemactic startup safari iOS 13-14 problematic startup Aug 27, 2023
@pmp-p pmp-p changed the title safari iOS 13-14 problematic startup safari iOS 12-13-14 problematic startup, sound deadlock on 15-16 Aug 27, 2023
@pmp-p
Copy link
Member Author

pmp-p commented Aug 29, 2023

ume fixed for Safari 15, tested on iphone/ipad
keeping it open for safari 13/14 as it may just be a wasm compilation flag problem. But don't expecpt much it is very time consumming to debug.

note chrome is also affected since apparently it share something with safari on iOS

@pmp-p pmp-p changed the title safari iOS 12-13-14 problematic startup, sound deadlock on 15-16 safari iOS 12-13-14 problematic startup, but now works on 15-16 Aug 29, 2023
@pmp-p pmp-p changed the title safari iOS 12-13-14 problematic startup, but now works on 15-16 safari/chrome iOS 12-13-14 problematic startup, but now works on 15-16 Aug 29, 2023
@pmp-p pmp-p pinned this issue Aug 29, 2023
@pmp-p pmp-p changed the title safari/chrome iOS 12-13-14 problematic startup, but now works on 15-16 No Safari/Chrome iOS 12-13-14, but works on 15-16 Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant