469,925 Members | 1,519 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,925 developers. It's quick & easy.

Unable to play .wav file on WMP

Hello,

I am trying to play a file from my ASP.NET application on the client's
browser using a link like:

<a href="../sounds/21.wav">Play</a>

When I click the link, WMP opens and I get the following Error
displayed in the WMP11:

Windows Media Player cannot play the file. The Player might not
support the file type or might not support the codec that was used to
compress the file.

When I try the same thing with Firefox, it works fine.
When I copy the file manually to a local folder and I doubleclick it
from the windows explorer, it also opens WMP and it plays ok.

Can someone give me a hint?

Many thanks
Daniel.

Jun 26 '07 #1
1 2112
On Jun 26, 5:21 pm, microteq <dgeisenh...@microteq.chwrote:
Hello,

I am trying to play a file from my ASP.NET application on the client's
browser using a link like:

<a href="../sounds/21.wav">Play</a>

When I click the link, WMP opens and I get the following Error
displayed in the WMP11:

Windows Media Player cannot play the file. The Player might not
support the file type or might not support the codec that was used to
compress the file.

When I try the same thing with Firefox, it works fine.
When I copy the file manually to a local folder and I doubleclick it
from the windows explorer, it also opens WMP and it plays ok.

Can someone give me a hint?

Many thanks
Daniel.
No idea - but perhaps as an alternative hijack the link using your
favoured javascript framework (YUI, Del.icio.us or whatever) and use
flash to play the file?

Jun 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by James Proctor | last post: by
1 post views Thread by Ron Provost | last post: by
3 posts views Thread by hussein | last post: by
1 post views Thread by James Proctor | last post: by
1 post views Thread by Lam | last post: by
4 posts views Thread by Rob Leyshon | last post: by
1 post views Thread by =?Utf-8?B?c2hhcmVu?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.