Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26682
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Audio autoplay again |
| Date | Sat, 24 Jan 2015 02:29:53 +0100 |
| Organization | solani.org |
| Lines | 24 |
| Message-ID | <m9usi7$p1c$1@solani.org> (permalink) |
| References | <7qudnc66lNbiFVzJnZ2dnUVZ8iednZ2d@westnet.com.au> <m9ui12$jgh$1@solani.org> <qeidneZjpvPgbV_JnZ2dnUVZ8sudnZ2d@westnet.com.au> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1422062983 25644 eJwFwQkBgDAMA0BLhC0pk0Of+JewOy5BFVvUpumInC99nujBD5TLrzeDhjA6qW5yTWcp4QsvpBH8 (24 Jan 2015 01:29:43 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Sat, 24 Jan 2015 01:29:43 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
| X-User-ID | eJwNyMEBwCAIA8CVhCYpjgNU9h/B3vP4yNQvRIHDWbKkFavpXf+uVUw0Bvt4Eq6M+EJxzLXnAhFlEJ0= |
| In-Reply-To | <qeidneZjpvPgbV_JnZ2dnUVZ8sudnZ2d@westnet.com.au> |
| Cancel-Lock | sha1:NsBVmsqPaxX2JW8JFyng0OngsBs= |
| X-NNTP-Posting-Host | eJwFwQkBwDAIA0BL0DYw5ITPv4Td4Zpa+TPYw2KTirWOar952pPDmSU/TDj7FEPECUEopX9GuBJD |
| Xref | csiph.com comp.lang.javascript:26682 |
Show key headers only | View raw
Andrew Poulos wrote:
> Currently I'm testing calling play() without setting autoplay and then
> testing for onplay because it seems to me that devices that let you
> start playback using code also allow autoplay.
If I'm not mistaken, "all" browsers accept play(), if it is called on
direct user interaction, e.g.
button.onclick = function () {
audio.play();
};
should work "everywhere" (e.g. on iOS), whereas
window.onload = function () {
audio.play();
};
does not necessarily.
--
Christoph M. Becker
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-23 10:26 +1100
Re: Audio autoplay again Scott Sauyet <scott.sauyet@gmail.com> - 2015-01-23 05:36 -0800
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-24 11:56 +1100
Re: Audio autoplay again Dr.Kral@nyc.rr.com - 2015-01-23 17:14 -0500
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-24 11:36 +1100
Re: Audio autoplay again "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-23 23:30 +0100
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-24 12:02 +1100
Re: Audio autoplay again "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-24 02:29 +0100
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-24 13:08 +1100
Re: Audio autoplay again Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-24 15:29 +0100
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-26 12:30 +1100
Re: Audio autoplay again "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-01-26 12:11 -0800
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-27 08:22 +1100
Re: Audio autoplay again "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-01-26 13:45 -0800
Re: Audio autoplay again Andrew Poulos <ap_prog@hotmail.com> - 2015-01-27 12:05 +1100
Re: Audio autoplay again Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-27 13:07 +0100
Re: Audio autoplay again "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-01-26 13:52 -0800
csiph-web