I have tried to play wmv/asf file in HTML page, but always Windows Media Player is embedded in browser, but Flash Media Player is not embedded.
Here is my code to embed Flash Media Player. I suspect it is because Flash Media player does not support wmv/asf format, so even if I explicitly assign "application/x-shockwave-flash" value, Flash Media player is not displayed. Any ideas?
Does Flash Media player support wmv/asf file?
<html>
<body>
<embed src="http://myserver/videos/123.asf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed>
</body>
</html>
It's not so much that Flash doesn't support wmv/asf; it's more the fact that wmv/asf is not a Flash movie, so you can't pretend that it's one by putting it in the src attribute when you're using the application/x-shockwave-flash type. Try putting a media player Flash movie instead.