Specify that src=“” in <audio> is a mp3 file without .mp3 extension?
问题 I need a way to specify that something like <audio src="http://somesite.com/track/377374"></audio> Has a mp3 file as a source. I am unable to use .mp3 extension at the end of the url, so I need other way to achieve this. I'm using custom player jQuery plugin which falls back to old browser version if it can't determine what file format is specified in audio tag. I's there a way to achieve this? 回答1: There is a function that check the file extension and tries to match canPlayType = function(