I should tell you that I am a chemist and I would like to easily insert files of the type ".cdx", a specific chemical format, directly with the media insert tool.
Can I make the following suggestion: would it be possible for the user of your plugin to also define a specific code to embed the file url?
the file "123.cdx", after having been uploaded, gets the following url:
which still needs to be embedded in the following code:
<script> cd_insertObjectStr("<EMBED src='http://localhost:8888/test_wp_20120525/wp-content/uploads/2012/05/123.cdx' align='baseline' border='0' width='274' height='128' type='chemical/x-cdx' name=cd2>"); </script>