iOS Safari now needs .m4a instead .webm?

0 favourites
  • 12 posts
From the Asset Store
Shark.io
$49 USD
Shark.io in the sea full of killer sharks, Sunday of life is the game. Who knows what is happening under the sea?
  • I don't know if it's a Construct 3 bug or a "gift" from an Apple, but all my games stopped loading on Safari with iOS latest versions (I tested on 11.2.2 and 11.2.5). This happens somewhere around 28% loading, and I realized that it's connected with preloading sounds.

    So if I unchecked "preloading sounds" - the game is loaded, but there are no sounds. Back in early January, there was no such problem, so I associated it with iOS updates.

    In the end I tried to add .m4a and the game started to load again with working sounds. It turns out that iOS no longer supports opus audio or this issue can be fixed?

    Maybe I'm the only one who ran into such a problem?

  • Portvayne

    No, this has been an ongoing issue. Not sure if it was fixed for a bit, it'd be a shame if this problem has come back.

  • I'm probably wrong, but that I know the export formats for apple browser and iphone, microsoft internet explorer and edge have always been .m4a, while the .ogg for chrome / chromium and nw.js

  • I'm probably wrong, but that I know the export formats for apple browser and iphone, microsoft internet explorer and edge have always been .m4a, while the .ogg for chrome / chromium and nw.js

    Yes, but recently it was possible to use only one format .webm, and it worked well for me up to this point.

    https://www.scirra.com/blog/211/opus-au ... onstruct-3

  • > I'm probably wrong, but that I know the export formats for apple browser and iphone, microsoft internet explorer and edge have always been .m4a, while the .ogg for chrome / chromium and nw.js

    >

    Yes, but recently it was possible to use only one format .webm, and it worked well for me up to this point.

    https://www.scirra.com/blog/211/opus-au ... onstruct-3

    sorry my confusion but webm isn't for videos?

  • >

    > > I'm probably wrong, but that I know the export formats for apple browser and iphone, microsoft internet explorer and edge have always been .m4a, while the .ogg for chrome / chromium and nw.js

    > >

    >

    > Yes, but recently it was possible to use only one format .webm, and it worked well for me up to this point.

    >

    > https://www.scirra.com/blog/211/opus-au ... onstruct-3

    >

    sorry my confusion but webm isn't for videos?

    I can be wrong, but webm can be used for both video and audio-only. C3 automatically converts any audio format to webm except m4a

  • I can be wrong, but webm can be used for both video and audio-only. C3 automatically converts any audio format to webm except m4a

    oh ok, this is a excllusive feature of C3 so

  • The problem is a recent iOS security update to mitigate the Spectre vulnerability was botched and breaks WebAssembly in Safari. We use WebAssembly to decode Opus audio in Safari because it doesn't natively support it. I filed an issue with Apple about 2 weeks ago: https://bugs.webkit.org/show_bug.cgi?id=181598 I can't believe that Apple still haven't fixed it. We might be forced to hack around it and disable WebAssembly in Safari.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The problem is a recent iOS security update to mitigate the Spectre vulnerability was botched and breaks WebAssembly in Safari. We use WebAssembly to decode Opus audio in Safari because it doesn't natively support it. I filed an issue with Apple about 2 weeks ago: https://bugs.webkit.org/show_bug.cgi?id=181598 I can't believe that Apple still haven't fixed it. We might be forced to hack around it and disable WebAssembly in Safari.

    Oh, okay, thank you for the clarification. I hope the problem will be solved.

  • I do believe that it also caused massive instability in Chrome for me. Crashes every few hours. Since I switched all my Webm files to M4A there's been ZERO crashes and it fully functions on Safari.

    So I guess solution is to ditch webm, at least temporarily. :

    EDIT: Actually Safari proper doesn't load it up as always, I have to go through the browser that FB Messenger opens when I send the link. It used to work afaik 2 months ago

  • damjancd - we are only aware of an issue with WebAssembly in Safari on iOS, I'm not aware of any issue in Chrome at the moment. It is probably a different issue to the one in this thread (unless you mean Chrome on iOS, which is just a wrapper for Safari)

  • Ashley Just found it peculiar how radically fast all the crashes stopped once I removed webms. Yes btw it was OSX Chrome.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)