views:

25

answers:

0

Hi guys,

I'm wondering whether or not it is possible to determine if a machine has codec support to play a file located at a given URL. We are using the embed tag such as

<embed src="http://www.tizag.com/files/html/htmlexample.mpeg" autostart="false" />

My guess is it is not possible to determine if a machine has the capability to play this file from Javascript. IS this correct? If so, then how would I go about figuring this out using native system calls in Linux?

Thanks!