Problems with <embed> tag

C

Chris Leffer

Hi.

I have a page that dynamically creates an <embed> tag. Several users are
running the site using IE 6.0 without problems, but on just one user the
sound won't play. That's the code that creates the tag:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Dim embAlert As New HtmlGenericControl("embed")

With embAlerta.Attributes
.Add("src", "Sounds/Buzzer.wav")
.Add("autostart", "true")
.Add("width", "0")
.Add("height", "0")
End With
plhSound.Controls.Add(embAlert) 'plhSound is a placeholder
..
..
..
End Sub

Is there any prerequisites in order to make this tag works?

Regards,
Chris Leffer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top