Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Audio autoplay again Date: Fri, 23 Jan 2015 23:30:03 +0100 Organization: solani.org Lines: 12 Message-ID: References: <7qudnc66lNbiFVzJnZ2dnUVZ8iednZ2d@westnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1422052194 19985 eJwNyckRwDAIBLCWshwLlAMe038Jjr5yJXjC6DRfXzRYyBH1kL65jFr9QxZDvdWcuWJx8jMvPBD5ELA= (23 Jan 2015 22:29:54 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 23 Jan 2015 22:29:54 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-User-ID: eJwFwQkBwEAIAzBLg1LAzvH5l7CEcPEOc7rxeB3j2dxvEFAwu+uJqOWtlsTUmea+ncFh/QcjKhG/ In-Reply-To: <7qudnc66lNbiFVzJnZ2dnUVZ8iednZ2d@westnet.com.au> Cancel-Lock: sha1:Hq6yO10cv1oTZYJB7XLwmzsLXDc= X-NNTP-Posting-Host: eJwFwQkRADAIAzBLcNDC5PAc/iUsgVE54QQdhxvcTpoP+DB2gtXSlRSdR0q2h1dIn9hZ9QcbDBD0 Xref: csiph.com comp.lang.javascript:26678 Andrew Poulos wrote: > I'm try to test if HTML5 audio can auto play so I'm creating an audio > element, setting its autoplay property to true and then waiting to see > if the play event gets triggered. I'm wondering whether the `paused` attribute can be utilized instead of the `play` event. I don't know, but it might be worth investigating. -- Christoph M. Becker