Click here to Skip to main content
15,902,634 members
Please Sign up or sign in to vote.
2.17/5 (3 votes)
See more:
how to play background music in asp.net website
Posted

Use this.
<embed height="100" width="100" src="mymusic.mp3" />
where horse.mp3 is your file path:)
 
Share this answer
 
click on below link .......check this and follow the steps

http://www.c-sharpcorner.com/Blogs/11079/play-background-music-on-page-load-in-Asp-Net.aspx
 
Share this answer
 
Did you use Google to find a solution. This one here seems pretty easy to implement:
http://www.c-sharpcorner.com/blogs/1670/play-background-music-on-your-website-using-asp-net.aspx[^]
 
Share this answer
 
Introduction

This is a simple example to play audio file.

Step 1:

Add an html page and an audio file in your application.


HTML PAGE

 
Share this answer
 
 
Share this answer
 

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