Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8974
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Sound on/off button does not work |
| Date | 2011-12-08 00:09 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <jboo7i$l9e$1@dont-email.me> (permalink) |
| References | <9k9208FoloU1@mid.individual.net> <4edf9765$0$29307$a8266bb1@newsreader.readnews.com> <9k9qopFudlU1@mid.individual.net> |
2011-12-07 20:48, Fokke Nauta wrote: > Well, I used the embed element on other webpages with the same doctype and > it works perfectly. Forget the doctype and validation issues for the moment. They do not affect the problem at hand. The question is: can you expect the <embed> element to have play() and stop() methods? You might consider using the HTML5 <audio> element, with its play() and pause() methods, but then you would need to deal with the varying support to this element (well, you could use <embed> as fallback content) and varying support to different audio media types with it. Does it really pay off, as opposite to using <embed> with its own visible controls? I'd expect most users to prefer those controls (which they have encountered on other pages) to your site- or page-specific special controls. -- Yucca, http://www.cs.tut.fi/~jkorpela/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-07 12:46 +0100
Re: Sound on/off button does not work Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-07 16:42 +0000
Re: Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-07 19:48 +0100
Re: Sound on/off button does not work "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-12-08 00:09 +0200
Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-07 16:03 -0800
Re: Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-08 20:23 +0100
Re: Sound on/off button does not work Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-09 00:10 +0000
Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-08 16:40 -0800
Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-08 16:46 -0800
Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-07 15:55 -0800
Re: Sound on/off button does not work Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-09 00:41 +0000
Re: Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-10 13:40 +0100
csiph-web