|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Playing a WAV file from a Web PageCan anyone point me to some code that allows the user to play a WAV file by
clicking on a link. Many thanks. Well, simply linking to the .wav file will work for most users. All they
need is a program, like QuickTime associated with the wav extension. You can check out: http://www.fluffbucket.com/html/sound.htm <a onclick="self.location='myfile.wav'; return false" href="#">Click here to play</a> Karl -- Show quoteHide quoteMY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "Andrew Chalk" <ach***@magnacartasoftware.com> wrote in message news:%23GlDcDx6FHA.3976@TK2MSFTNGP15.phx.gbl... > Can anyone point me to some code that allows the user to play a WAV file > by clicking on a link. > > Many thanks. > OK. Now if the user clicks on a button that causes a search of a database
for the file name how can my web site then play the file to them? Many thanks, Andrew Show quoteHide quote "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:eOs3d7x6FHA.1020@TK2MSFTNGP15.phx.gbl... > Well, simply linking to the .wav file will work for most users. All they > need is a program, like QuickTime associated with the wav extension. > > You can check out: > http://www.fluffbucket.com/html/sound.htm > > <a onclick="self.location='myfile.wav'; return false" href="#">Click here > to play</a> > > Karl > > -- > MY ASP.Net tutorials > http://www.openmymind.net/ > http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! > > > > "Andrew Chalk" <ach***@magnacartasoftware.com> wrote in message > news:%23GlDcDx6FHA.3976@TK2MSFTNGP15.phx.gbl... >> Can anyone point me to some code that allows the user to play a WAV file >> by clicking on a link. >> >> Many thanks. >> > > On Thu, 17 Nov 2005 Andrew Chalk <ach***@magnacartasoftware.com> wrote:
> OK. Now if the user clicks on a button that causes a search of a database Create a literal object and then output the HTML text in it as mentioned > for the file name how can my web site then play the file to them? previously, substituting in the .wav file name. Show quoteHide quote > > Many thanks, > > Andrew > "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> > wrote in message news:eOs3d7x6FHA.1020@TK2MSFTNGP15.phx.gbl... >> Well, simply linking to the .wav file will work for most users. All they >> need is a program, like QuickTime associated with the wav extension. >> >> You can check out: >> http://www.fluffbucket.com/html/sound.htm >> >> <a onclick="self.location='myfile.wav'; return false" href="#">Click here >> to play</a> >> >> Karl >> >> -- >> MY ASP.Net tutorials >> http://www.openmymind.net/ >> http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! >> >> >> >> "Andrew Chalk" <ach***@magnacartasoftware.com> wrote in message >> news:%23GlDcDx6FHA.3976@TK2MSFTNGP15.phx.gbl... >>> Can anyone point me to some code that allows the user to play a WAV file >>> by clicking on a link. >>> >>> Many thanks. >>> >> >> > > -- fiddlewidawiddum Thanks!
Show quoteHide quote "Stimp" <r**@spumco.com> wrote in message news:slrndnog1p.jpn.ren@carbon.redbrick.dcu.ie... > On Thu, 17 Nov 2005 Andrew Chalk <ach***@magnacartasoftware.com> wrote: >> OK. Now if the user clicks on a button that causes a search of a database >> for the file name how can my web site then play the file to them? > > Create a literal object and then output the HTML text in it as mentioned > previously, substituting in the .wav file name. > > >> >> Many thanks, >> >> Andrew >> "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> >> wrote in message news:eOs3d7x6FHA.1020@TK2MSFTNGP15.phx.gbl... >>> Well, simply linking to the .wav file will work for most users. All >>> they >>> need is a program, like QuickTime associated with the wav extension. >>> >>> You can check out: >>> http://www.fluffbucket.com/html/sound.htm >>> >>> <a onclick="self.location='myfile.wav'; return false" href="#">Click >>> here >>> to play</a> >>> >>> Karl >>> >>> -- >>> MY ASP.Net tutorials >>> http://www.openmymind.net/ >>> http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! >>> >>> >>> >>> "Andrew Chalk" <ach***@magnacartasoftware.com> wrote in message >>> news:%23GlDcDx6FHA.3976@TK2MSFTNGP15.phx.gbl... >>>> Can anyone point me to some code that allows the user to play a WAV >>>> file >>>> by clicking on a link. >>>> >>>> Many thanks. >>>> >>> >>> >> >> > > > -- > > fiddlewidawiddum >
Problems with Re-Usable ASP.NET User Control Libraries
FtpWebRequest UploadFile Page_Error event issue Detailsview and stored Proc Treeview tweak Accessing the values of textboxes/labels within a function White spaces in DropDownList / Listbox / ... How to insert a new record in detailsview when there are no record AutoEventWireUp Problem cannot access container data in templated control |
|||||||||||||||||||||||