0 Favourites

[c2 173] Audio never PRELOADS on iOS 7.1 (it did in c2 146)

  • Problem Description

    Audio never loads on ios7.1

    Previous version of c2 I was using (148) never had this issue (audio did preload on ios7.1) thats why I experienced this with my project.

    Ive created extremely simple capx.

    I tried from preview over wifi and from ftp server. Exactly the same results each time.

    Audio loads on desktop chrome without issues but it never loads on ios7.1

    Attach a Capx

    Description of Capx

    Steps to Reproduce Bug

    • Load game on ios7.1
    • Observe how text field never changes its displayed text from "audio is preloading" and music never starts

    Observed Result

    Music doesnt preload and never starts to play

    Expected Result

    Music preloads and starts to play

    Affected Browsers

    • iOS 7.1 Safari

    Construct 2 Version ID

    173

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Closing as won't fix, it's a limitation in iOS. Music cannot be played or preloaded until a touch event and the Audio object works around this for you (if you use the Play action, it queues it to play in the next touch event on iOS). The older release probably worked because it routed music through the web audio API, but this resulted in longer delays before music started playing and much higher memory use, so we put it back to the streaming mode which can only start in a touch.

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