HTML 5 Audio Tag issue in iOS


#1

I am having an issue with the following html:

<audio
id=“questionAudio”
controls
controlsList=“nodownload”
style = “min-width: 308px; min-height: 69px”
[src]="‘data:audio/ogg;base64,’ +questionnaireData.allQuestionProperties[currentStateObject.position].audioFileRawData">

I have audio stored as binary that is dynamically loaded based on which “question” is being asked to the user.
The code works fine in Chrome while testing.


#2

Figured it out. iOS was more sensitive to type. Needed to change to audio/mp3.