Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

when will the web audio api support mp3 and m4a audio files?

  • 2 réponses
  • 5 ont ce problème
  • 5 vues
  • Dernière réponse par philipp

more options

I am currently testing the web audio api. The method context.decodeAudioData fails when attempting to play mp3 or m4a file types. Only wav files appear to work. If this is not the right forum for this question, is there a developer forum?

Thanks

vozzman

I am currently testing the web audio api. The method context.decodeAudioData fails when attempting to play mp3 or m4a file types. Only wav files appear to work. If this is not the right forum for this question, is there a developer forum? Thanks vozzman

Toutes les réponses (2)

more options

Maybe this bug will add this support on Mac.

  • bug 851290 - Use GStreamer on Mac for H.264/MP3/AAC playback (instead of AV Foundation)

If I set media.gstreamer.enabled (Firefox 24+) to true then at least I can play MP3 files with the built-in HTML5 player.
So you can check if you have this pref on Mac and if it has effect.

more options

hello, i think this might be the case because firefox on mac os x doesn't support mpeg-encoded media files natively yet. those formats are currently supported on windows 7, linux (starting from firefox 24), on android and firefox os.

the ongoing implementation work for mac os x is tracked in bug #851290.