Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

embedded sounds don't play when hidden=true

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Next:  Stock feeds  
Author Message
dica

External


Since: Feb 22, 2006
Posts: 2



(Msg. 1) Posted: Wed Feb 22, 2006 4:24 pm
Post subject: embedded sounds don't play when hidden=true
Archived from groups: alt>www>webmaster (more info?)

if i embed my sound file like this:

<embed src="sounds/sound.wav" hidden="false" autostart="false"
loop="false" name="my_sound" id="my_sound">

it plays fine when called with javascript:

document.my_sound.play();

if i embed it with the hidden = true attribute set, there's no sound.
this is happening on IE 6.0.

any ideas how to get around this?

tks

Back to top
Login to vote
IEDesigner

External


Since: Feb 22, 2006
Posts: 37



(Msg. 2) Posted: Thu Feb 23, 2006 11:10 am
Post subject: Re: embedded sounds don't play when hidden=true [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"dica" <s_mumby.RemoveThis@hotmail.com> wrote in message
news:1140654253.440938.137420@g43g2000cwa.googlegroups.com...
> if i embed my sound file like this:
>
> <embed src="sounds/sound.wav" hidden="false" autostart="false"
> loop="false" name="my_sound" id="my_sound">
>
> it plays fine when called with javascript:
>
> document.my_sound.play();
>
> if i embed it with the hidden = true attribute set, there's no sound.
> this is happening on IE 6.0.
>
> any ideas how to get around this?
>
> tks

Post your question in news:comp.lang.javascript
IEDesigner

Back to top
Login to vote
Display posts from previous:   
Related Topics:
Alternating Background Sounds - Does anyone know a way to alternate the file selected when using the bgsound= tag between the head tags? I want it to choose a .wav file randomly when the page loads. Regards, Fred

This is so true - http://www.dilbert.com/comics/dilbert/archive/images/dilbert2004366030506.gif --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 04/05/2004

This can't be true, can it? - Okay so it was spam and I usually don't read spam but... <begin spam email> Times have changed. Now, every single web operator - including you - can go to jail for failing to put a few simple words in your website. Shawn Casey, one of the most....

So true - I've had soooo many bosses like this...... http://www.dilbert.com/comics/dilbert/archive/images/dilbert200411295108.jpg Not just in IT either.....You'd be amazed at home many commissioned officers in the armed forces are just like that guy...... -- ..

Play it straight - Greetings Picture this ... Host A acquires a bundle of customers when they take over a smaller hosting company. One of those customers is persuaded, at roughly the same time, to switch hosts, to Host B, by his ISP - so they never really became a clien...
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]