Computing.Net > Forums > Web Development > background mp3

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

background mp3

Reply to Message Icon

Name: robber2
Date: January 12, 2005 at 20:25:11 Pacific
OS: w xp
CPU/Ram: 2 gig celeron, 256 MB
Comment:

so i read all four of the posts on this page of this forum alone on how to play sound files on web pages. someone, probably you, knows the definitive way to do this with the OBJECT element, not EMBED (it's gotta validate, afterall.) Let's say you want the viewer of the web page to be able to control whether the song plays or not, be able to adjust the volume, you want the song to loop, and you want your page to validate... what's the code you need to do this. (the page i'm applying this to is HTML 4.01 trans, but i'd like it to work in newer XHTML pages i'm learning. anyone? and for everyone who posted so far on this issue, thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Nick
Date: January 12, 2005 at 22:27:55 Pacific
Reply:

To be honest, if you've got a page that works for all the major browsers then validating isn't that big of an issue. I'm not saying that it's not important to try to use the standards, but it's also not the end-all-be-all. It may be that at the moment the best all purpose way to embed sound (assuming that you SHOULD embed sound) is still with the EMBED tag.

That said, check out this page. Gives some examples on the OBJECT tag. The problem is that it starts introducing OS-dependant and proprietary stuff. Users of WMP 10 (such as myself) have problems with his simple OBJECT example where IE first asks a question about ActiveX controls, then opens a full copy of WMP to play the "embeded" file.


0

Response Number 2
Name: robber2
Date: January 13, 2005 at 08:46:41 Pacific
Reply:

Thanq, Dr. for the ref to the article... very informative. My take, give the viewer the option to play a sound or two if they want to.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


can't see images on my we... .co.uk or .com ?????



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: background mp3

Need help disabling quick time. www.computing.net/answers/webdevel/need-help-disabling-quick-time/1005.html

Help with this quicktime thing. www.computing.net/answers/webdevel/help-with-this-quicktime-thing/1021.html

Playing MP3 music on website www.computing.net/answers/webdevel/playing-mp3-music-on-website/1207.html