Click here to Skip to main content
15,120,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello frends,
I am creating an web application for Music Player,my requirement is to play any online audio file,i have tried used object and embed tags but it works with static urls like-

But with dynamic link-
it doesnt work...
So how to do it?

With Regards,
Prema G

1 solution

It's possible using the NAudio open source .NET audio library, which is explained in the blog:[^]

Essentially you have one thread downloading video frames, decompressing them and storing them in a BufferedWaveProvider. Another thread then plays back using the BufferedWaveProvider as an input.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900