embed-Audio in none-display-div

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I have a problem with a div container:

<div style="display: none;">
<embed src="./media/new_messages.wav" height="0" width="0" hidden="true">

I want that the audio plays only if the display property is not that you
none. There are no trouble in Firefox, but in Internet Explorer & Co.

What can I do?

Thanks for help, sorry for my bad english, i hope you will understand me :)

kind regards

S. Gohres

Re: embed-Audio in none-display-div

Quoted text here. Click to load it

Tell us the function that you are trying to create, there's little point
in presenting us with what you think is the solution, often people
choose the wrong solution.


Site Timeline