Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 31st, 2007, 01:01 AM
Registered User
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sound files incorporation in web pages

Hi to all!

I want to know what are the different approaches to incorporate the sound files (.wav, .midi) in web pages which should be supported by all major browsers(IE, FF).

Thanks.

mi2
 
Old June 19th, 2007, 02:52 AM
Authorized User
 
Join Date: Jun 2007
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear softarrow

IE and FF handle sounds differently. You can use BGSOUND element available on IE or EMBED element on FF. You should check your browser and decide on which method to use

Take a look at this link, maybe useful.

http://www.computing.net/webdevel/ww...forum/992.html
 
Old June 29th, 2007, 04:13 PM
Registered User
 
Join Date: Jul 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there a code that works on both browsers?
 
Old August 1st, 2007, 11:39 AM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

This is one of the reasons that Flash is becoming so popular. It makes handling sound and video quite easy. What exactly do you want to give your users on the webpage? Background music while they browse? A link to sound file they can download?

Also, be careful with the Embed tag. It pretty much blows your validation. Yet another problem with putting sound and video on your page because the W3C really doesn't care about supporting those technologies.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
playing sound files (java 2 jdk1.3 edition) naresh Java Basics 1 April 11th, 2009 01:04 AM
Display web cam in web pages peace2007 ASP.NET 2.0 Basics 1 September 17th, 2007 01:07 PM
Blob Code Incorporation sclaggett BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 6 July 27th, 2006 10:47 PM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 09:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.