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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top