Playing a WAV file on iOS Safari


To play a WAV file on iOS Safari, add a content-range header.

The headers would allow a WAV file to play −

Content-Range: bytes XX-XX/XX
Content-Type: audio/wav
Content-Disposition: attachment; filename = "new.WAV"
Content-Length: XX

Above, new.WAV is our WAV file.

Updated on: 25-Jun-2020

324 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements