1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To chat with the GameOgre community, you need to have at least 15 posts. Once you have the 15 posts, post at Become A New Ogre
    Dismiss Notice

html 5 sound

Discussion in 'Online Game Development' started by shugo, Mar 15, 2014.

  1. shugo

    shugo Active Member Ogre Veteran

    Messages:
    2,092
    Likes Received:
    10
    Trophy Points:
    38
    Credit:
    14,250.21
    I discovered something new today about audio support in browsers.

    Read it, learn, and weap about the pitiful support for sound.

    1. Firefox version 21 or lower does not support MP3 files in the html5 audio tag.
    2. Firefox version 22 or higher does support MP3 files in the html5 audio tag.
    3. Internet Explorer 8 or lower does not support MP3 files in the html5 audio tag.
    4. Internet Explorer does not support WAV files in the html 5 audio tag.
    5. Support for MP3 files in the html 5 audio tag in Internet Explorer 9 or higher is broken. It only works with autoplay.
    6. Support for WAV files in Chrome and Firefox is broken. Any WAV file shorter than 20 seconds will not play in Chrome and Firefox.
     
    Last edited by a moderator: Mar 15, 2014
  2. Admin Post
    ogreman

    ogreman Ogre In Charge Staff Member GameOgre Admin

    Messages:
    37,218
    Likes Received:
    7,018
    Trophy Points:
    113
    Credit:
    15,689.53
    Ugh, that is good to know, Shugo.

    Do any have good sound support?
     
  3. shugo

    shugo Active Member Ogre Veteran

    Messages:
    2,092
    Likes Received:
    10
    Trophy Points:
    38
    Credit:
    14,250.21
    I have several browsers installed, if one doesn't support it, the other will.
     
  4. Lukac97

    Lukac97 New Ogre New Ogre

    Messages:
    59
    Likes Received:
    3
    Trophy Points:
    0
    Credit:
    32.28
    Thanks man, its always good to learn something new
     
  5. shugo

    shugo Active Member Ogre Veteran

    Messages:
    2,092
    Likes Received:
    10
    Trophy Points:
    38
    Credit:
    14,250.21
    glad you like it
     
  6. cyberCardinal

    cyberCardinal New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Credit:
    0.00
    Also chrome no longer plays short sounds like 5 seconds sounds-ish or lower.

    So for example you can't play a notification sound or anything like that. i guess you could with a custom player not with the audio tag but yeah... it messed up with some of my code all of a sudden.
     
  7. shugo

    shugo Active Member Ogre Veteran

    Messages:
    2,092
    Likes Received:
    10
    Trophy Points:
    38
    Credit:
    14,250.21
    yeah don't you just hate that when that happens
     

Share This Page