473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Play Sound simultaneously

Hello,

I want an image and sound(any format) to load and play simultaneously
in my HTML or the sound should play only after the image is loaded. Is
this possible?. Pls let me know how.

Regards,
Minchu
Jul 20 '05 #1
5 2661
minchu wrote:
I want an image and sound(any format) to load and play simultaneously
in my HTML or the sound should play only after the image is loaded.
None of your site viewers do. Please reconsider.
Is this possible?
Yes.
Pls let me know how.


Look up the EMBED tag, but please decide not to use it.

--
Mark.

Jul 20 '05 #2

"Mark Tranchant" <ma**@tranchant.plus.com> wrote in message
news:H1*******************@stones.force9.net...
minchu wrote:
I want an image and sound(any format) to load and play simultaneously
in my HTML or the sound should play only after the image is loaded.


None of your site viewers do. Please reconsider.
Is this possible?


Yes.
Pls let me know how.


Look up the EMBED tag, but please decide not to use it.


EMBED is not valid HTML. Use OBJECT unless EMBED is necessary to support
older technology.

Jul 20 '05 #3
Hello,
Thanks for the answer. Suppose I have an image of 20K and the sound of
5K, the sound starts playing before the image downloads. I don't want
this to happen, the sound should play only after the image is loaded.
Kindly tell me how do I do this.

Regards,
Minchu.
"Harlan Messinger" <h.*********@comcast.net> wrote in message news:<2m************@uni-berlin.de>...
"Mark Tranchant" <ma**@tranchant.plus.com> wrote in message
news:H1*******************@stones.force9.net...
minchu wrote:
I want an image and sound(any format) to load and play simultaneously
in my HTML or the sound should play only after the image is loaded.


None of your site viewers do. Please reconsider.
Is this possible?


Yes.
Pls let me know how.


Look up the EMBED tag, but please decide not to use it.


EMBED is not valid HTML. Use OBJECT unless EMBED is necessary to support
older technology.

Jul 20 '05 #4
minchu wrote:
Hello,
Thanks for the answer. Suppose I have an image of 20K and the sound of
5K, the sound starts playing before the image downloads. I don't want
this to happen, the sound should play only after the image is loaded.
Kindly tell me how do I do this.


Firstly, Please *DO NOT* top post, it's not appreciated by many in these
newsgroups.

Secondly, try using something like Macromedia Flash, but have the sound
OFF by default, with a clear option for the user to enable it if they
wish. Please consult a Flash tutorial, newsgroup or other resource for
help on how to create this, it's not an html question. You can embed
flash in a standards compliant way using only <object> [1], <embed> is
not required, except to support Netscape 4.x, but no-one use that now
anyway. But you should also provide suitable alternate content, so it
won't matter if it's not supported.

[1] http://www.alistapart.com/articles/flashsatay/

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #5
Lachlan Hunt <la**********@lachy.id.au.invalid> wrote:
Thanks for the answer. Suppose I have an image of 20K and the sound of
5K, the sound starts playing before the image downloads. I don't want
this to happen, the sound should play only after the image is loaded.
Kindly tell me how do I do this.


try using something like Macromedia Flash


Flash content suffers from poor accessibility and is not available on
certain platforms. There are occasions where the use of Flash cannot be
avoided to create certain features, this isn't one of them.

--
Spartanicus
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play...
6
by: Andrew Poulos | last post by:
As a follow on to the 'fun' I had with IE I'm now trying to play sounds using an Object tag (no Embed) in MZ. Sadly whenever 'playButton' gets clicked MZ says that "audObj.Play is not a function":...
1
by: Ron Provost | last post by:
Hello, I'm developing a piece of software to assist illiteraate adults to learn to read. I'm trying to figure out how, if possible, to make audio playback asynchrnous but still controllable. ...
2
by: NB | last post by:
I've done a thorough search, but could not find any posts If I store a sound file within the mdb, How do I play it (in a form event, for example) I can save it to a temp folder and call the...
22
by: MLH | last post by:
I have some audio help files that play fine from within Access 97 and Access 2.0. Both are running on a Windows XP box. But I do not know what program plays the files. If I click Start, Run and...
1
by: Lam | last post by:
how can I play sound file in a .aspx page written in C#? I try to use the code like the following. But whenI call the play function play("sound.wav", this.SND_ASYNC) my computer give out "be"...
3
by: Jared | last post by:
I'm using the first code sample below to play WAV files stored as embedded resources. For some reason I *occasionally* get scratching and crackling. I'm using a couple WAVs that ship with...
5
by: | last post by:
Hello, I am wrtting a program that does some sound effects... the files are stored in a subfolder in the application folder... and I check the existence of the files before calling the method to...
26
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.