Forum Moderators: not2easy
anyway, I'm creating a multimedia kind of website and i want to allow the user to be able to listen to music while surfing my homepage. i don't know if i should use <embed> tags or not.
this is how i want my website with audio to be like.. there will be a small audio link at the bottom which will have numbers 1,2,3 .. each of this number represents a song to be played. so, if the user clicks 1...song 1 will play automatically and continuously.. if the user clicks 2..song 2 will play and so on. there should be an audio Off button too. there won't be a play or pause button. i'm not sure how do i go about doing this. any idea? do i use SMIL? or <embed>? or javascript? some other? oh yeah, i dont want to have it pop-up.
any ideas?
i've seen this being done in a few cool websites.
i do hope you can help me. all suggestions appreciated.
thank you so much!
jozza
It's not difficult, but describing how to do it here would be a tutorial in itself and I don't have the time sorry.
It's possible to play audio without popping up Media Player etal in other ways but I've never tried it and I'm not too sure if you can stop and start it in the way you described nor do I know if such a technique is cross-browser.
I'd suggest looking at the Microsoft site.
The other of putting sound on the web is to use m3u file. You crate text file with a link to your mp3 file in it , then change extension to m3u, and in you html file you put link to m3u file. When someone click on the link it will stream it in favorite (default) player. In my case it plays straight from the browser, but that depens on personal setting.