audioPormise should return null if an audio element is not passed in as an argument