0 Favourites

[r97] JavaScript audio plugin bug

  • 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.

  • Construct 3

    Buy Construct 3

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

    Buy 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)
Similar Topics Posts Views Last Post
Unread hot topic
1,068 148,691
Reflextions's avatar
Reflextions
Unread hot topic
0 Favourites
[plugin] firebase
687 65,164
cybertron7's avatar
cybertron7
Unread hot topic
0 Favourites
[PLUGIN] Canvas
627 186,709
zenox98's avatar
zenox98