protected AudioType resolvePlayer(FacesContext context, Audio component) {
        if (LangUtils.isNotBlank(component.getPlayer())) {
            return AudioType.valueOf(component.getPlayer().toUpperCase());
        }
        else if (component.getValue() instanceof String) {
            String extension = FilenameUtils.getExtension((String) component.getValue());

            for (AudioType mediaType : AudioType.values()) {
                if (mediaType.getFileExtension().equalsIgnoreCase(extension)) {
                    return mediaType;
                }
            }
        }

        throw new IllegalArgumentException("Cannot resolve mediaplayer for audio component '"
                + component.getClientId(context) + "', cannot play source:" + component.getValue());
    }
The HTML <audio> element is used to embed sound content in documents.
primefaces/src/main/java/org/primefaces/component/audio/AudioRenderer.java