Sap_vr
Sap_vr

Reputation: 2568

Playing Audio Files on Asp.Net in Sequence(one after one)

I have a reqiurement, I need to play multiple audio songson ASP.Net page.Can anyone suggest the best way to implement this.

I have page. There I will display the list of the songs in grid view. The gridview contains checkboxes and songs name. User should able to select the multiple check boxes and click play.

When ever user click play button on new popup window I have to play the all audio songs selected by user one by one.

I will appreciate your help.

Thanks, Venkat.

Upvotes: 0

Views: 1817

Answers (4)

Madhusmitha katagur
Madhusmitha katagur

Reputation: 1

Use mediaEnded Event of mediaplayer(silverlight) in javascript

Upvotes: 0

Dan Diplo
Dan Diplo

Reputation: 25349

I'd be tempted to use jPlayer - jQuery audio player plugin.

Upvotes: 1

Gthompson83
Gthompson83

Reputation: 1099

What format is the audio in?

The best way would be to dynamically create a playlist file (.asx|.m3u) and serve it to the browser/media player.

Upvotes: 0

bsneeze
bsneeze

Reputation: 4479

ASP.NET is server-side. To play a sound on the visitor's computer, you need to use something that runs client-side. JavaScript, Flash, Java, etc. If you play a sound in your ASP.NET code, it will play on the server. Not remotely useful... Get it? "Remotely?" Haha!

Upvotes: 0

Related Questions