Media Plugin - Dynamic Source

Media Plugin - Dynamic Source

The jQuery plugin has very nearly saved my sanity, however, I can't find any option to connect it to a dynamic server resource:

  1. <a class="media" href="DownloadWav.ashx"></a> 

Here I point the anchor tag at an ASP.net handler file which returns a .wav file.  Unfortunately, it looks like the plugin just checks the extension of the href to determine the file type so this therefore won't work.

Is there any neat way of doing this or am I going to have to edit the source?