Back to projects
Drupal
PHP
Drupal Media
AMES Australia
AMES Australia supports migrants and refugees with English courses and settlement services. I updated the site's audio player to use the correct MIME type when rendering M4A files.
Context
AMES Australia provides English learning, training, employment and settlement support for migrants and refugees. Its website includes information about these services and audio resources. As part of ongoing maintenance, I worked on making M4A metadata compatible with the existing Drupal media flow.
My contribution
- In the Drupal theme, I used the file MIME type obtained in PHP and normalized M4A and AAC variants to
audio/mp4before rendering the player.
Outcome
The audio element now renders with audio/mp4 for M4A files, instead of deriving the MIME type from the file extension alone.