Problems with sound



Hi.

I have a page that plays a .wav file from time to time, when the page
loads. Some of my customers say that the sound does not play and others
say that the sound plays very well. All of my customers are using
Internet Explorer 6.0+ .
What is the best or correct way to play a sound file from an asp.net
page? That's the code I am using:

Protected WithEvents plhSound As PlaceHolder

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

Dim embWarning As New HtmlGenericControl("embed")

With embAlerta.Attributes
.Add("src", "warn.wav")
.Add("autostart", "true")
.Add("type", "audio/wav")
.Add("width", "0")
.Add("height", "0")
.Add("volume", "0")
End With
plhSound.Controls.Add(embWarning)

End Sub


Regards,
Chris Leffer

*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • sticky sound on 7 stable
    ... I have sticky sound flow on 2 different slowish laptops running 7 ... Stable, Sound plays for a few secs, then breaks for a fraction & ... Plays slow on the faster CPU! ...
    (freebsd-stable)
  • Re: Evidence that opinions are individual
    ... With Wand I hear ... Wand's late live recordings of 1-6 to those in the cycle. ... The NDR SO has a much bigger sound than the ... plays together. ...
    (rec.music.classical.recordings)
  • Re: Hourly Consulting Rates for Embedded Work?
    ... Push the switch and it plays a sound and flashes the eyes. ... To do it right (and you *must* do it right when the minimum order ...
    (comp.arch.embedded)
  • Re: sound in KDE 4.1
    ... Even tho Amarok plays music smoothly I don't get any ... The application KDE Control Module crashed and caused the ... Sound" are: HDA Intel ... HDA Intel ALC883 Digital Digital Audio Output) default ...
    (alt.os.linux.suse)
  • Re: sound in KDE 4.1
    ... Even tho Amarok plays music smoothly I don't get any ... The application KDE Control Module crashed and caused the ... Sound" are: HDA Intel ... HDA Intel ALC883 Digital Digital Audio Output) default ...
    (alt.os.linux.suse)

Loading