PANZER Schokolade3

While adding support for wrapping media files into the according html5 tag (audio or video) to my realtime microblogging application at roar.disktree.net i discovered a nasty situation as follows:
How to know if a file with the ‘.ogg’ extension is video rather than audio from within javascript ?
Possible workarounds to distinguish (in case of my application):
Anyhow, no solution for javascript, so it would be good to agree on:
Or am i overlooking something ?
checkout grafik designers website: http://neverscared.org/
a flash grafik design ( by depattern ) remix. 10% timeline, 90% actionscript2.
,