Click to See Complete Forum and Search --> : media formats


Nulrick
10-02-2003, 10:09 AM
I am trying to embed a video clip that I have in Windows Media Player, Real Player and in Quicktime format.

I think it would be good to upload all three formats, but I need to know in JavaScript and/or HTML how to tell the browser to choose the format that the user has software for?


Thanks!

Khalid Ali
10-02-2003, 11:06 AM
you can probably check for the mime types in browser (navigator.plugin) and then write the contents of an object based upon the finding.

Nulrick
10-02-2003, 11:54 AM
although I understand the general concept of your response, I don't know how to write it out at all.. are you able to show me?


thank you!

Khalid Ali
10-02-2003, 05:33 PM
The link below will(hopefully) help you.
It demonstrates how to detect most common plugins both in Netscape(Mozilla) and IE

http://www.webapplikations.com/pages/html_js/document/PluginDetector.html