[r97] JavaScript audio plugin bug

0 favourites
  • 3 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • When audio is added to a game project with r97, and previewed in Safari for Windows browser I get this JavaScript error, and then a blank screen.

    <img src="http://i50.tinypic.com/afgavq.jpg" border="0" />

    I get the same results previewing in Safari browser with an exported project.

    When I remove the audio object the game runs perfect but no audio then.

    This can be reproduced by previewing the Space Blaster game in your examples folder, or any game that uses the audio object, with the Safari for Windows browser.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This isn't actually a Construct 2 bug but is a stupid problem with the Safari browser. If you don't install Quicktime, Safari completely removes any audio support at all in a way which is not standards compliant, and this breaks any javascript which tries to play audio, which obviously includes Construct 2 games. If you install Quicktime, it works.

    Maybe I can add a special alert for Safari for Windows. But it's really not a very good browser for Windows (it's much better on Mac) and I don't think many people use it, so I don't suppose it's important other than to stop scaring people who are testing their games on as many browsers as they can find.

  • Thanks Ashley, I just installed Quicktime, and everything works great once again <img src="smileys/smiley4.gif" border="0" align="middle" />

    I wish Safari would let us know of changes like this.

    Yes, I agree Safari for Windows never did have very good audio quality, but I just got in the habit of testing, all my games on the 5 most used browsers IE, Firefox, Chrome, Opera, and Safari.

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