Legacy Knowledge Base
Published Jun. 30, 2025

Unable to play .wav audio files

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Unable to play audio files of the '.wav' extension on the iOS app.

Environment

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3
  • Liferay DXP 7.4

Resolution

  • To mitigate this concern, please include the following property in the portal-ext.properties file:
    mime.types.content.disposition.inline=\
    flv,\
    gif,\
    jpeg,\
    jpg,\
    pdf,\
    png,\
    wmv,\
    wav

    web.server.servlet.accept.ranges.mime.types=\
    audio/basic,\
    audio/mid,\
    audio/midi,\
    audio/mod,\
    audio/mp3,\
    audio/mp4,\
    audio/mpeg,\
    audio/mpeg3,\
    audio/ogg,\
    audio/vorbis,\
    audio/wav,\
    audio/x-m4a,\
    audio/x-mid,\
    audio/x-midi,\
    audio/x-mod,\
    audio/x-mpeg,\
    audio/x-pn-realaudio,\
    audio/x-realaudio,\
    audio/x-wav,\
    video/avi,\
    video/mp4,\
    video/mpeg,\
    video/ogg,\
    video/quicktime,\
    video/x-flv,\
    video/x-m4v,\
    video/x-ms-wmv,\
    video/x-msvideo,\
    audio/vnd.wave

Additional Information

  • After enabling the mentioned properties, please restart the server to see the changes.
Did this article resolve your issue ?

Legacy Knowledge Base