Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

In my .net project create add for song music if you click next page song will play automatically , other page also same things so every page with song.

Where will I give to link a song?
How to give random song to page?

Thanks
Karthikeyan ,bangalore.
Posted
Updated 22-Nov-10 18:59pm
v3
Comments
Dalek Dave 18-Nov-10 4:53am    
Tried my best to work this out.

Do you mean you want a different music file to be played each time you change pages within a website?
pkarthionline 18-Nov-10 5:01am    
yes different music file but if you close means close, otherwise continue the music full.
S.M.Naresh 18-Nov-10 5:03am    
Hello Karthik,
Frame your question neatly.It is understood though.
pkarthionline 29-Nov-10 4:29am    
.net applications create website in that page add music file add then file will particular song play.

1 solution

Keep a list of url paths of the songs. Pick one every time you navigate and play it. Not sure what's stopping you in this. You can either place a song per page(fixed from before or decide at runtime) and play it.
 
Share this answer
 
Comments
S.M.Naresh 18-Nov-10 5:03am    
Can you please elaborate..with sample code

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