not sure but i think its possible if i make the java script search for the format endings.
i just dont know how compatable the code would be:
Code:
<embed name="RAOCXplayer" src="{param}" width="352" height="300" autostart="true">
like i dont know how many extensions work with that code above. If i did then i could make an if statement checking for the valid file extensions.