Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

HTML5 audio tag not working with blob audio source

  • Hi, I am using Opera for Android v49.2.2361.134358

    When there is an audio html tag with data source created by URL.createObjectURL(blob), the audio does not load and the player looks similar to this: 0_1548233456729_95fba08c-7266-4c38-822e-752e03bc5f74-image.png

    The audio file itself is in .wav format as MIME type "audio/wav". It is mono, 44100 Hz.

    This is an example of html for the audio player (on localhost... does not work on the test/production server, too):

    <audio id="voicePlayer" controlslist="nodownload" controls="controls" src="blob:https://localhost/b9faa305-dee9-4daf-8c4b-77a92e612dd7"></audio>

    #html5 #audio #blob

  • Also when I enabled download button, the recording itself is there, so you can download the .wav, but you cannot play it with the audio tag.

Log in to reply