I'm going to play MP3 in my ASP.NET web app (VS 2008), I want user to have a nice GUI for play/pause/stop and selecting different musics. Is there any way to start playing music automatically at site start up? Of course music should not be restarted after a new page is being loaded, is there any way I can control music via server side code?
thanks, I've tested many players but I think I need more sources
Music media can be played using HTML5 or Flash. These are front-end technologies. You can, of course, 'fetch' urls and files using back-end asp.net code.
There are a few javascript libraries out there that will determine if a user has an HTML5 browser and if not, use Flash as a backup.
One of them I like to use is called jPlayer, for jQuery.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.