Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26649

Re: test for autoplay

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" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: test for autoplay
Date Thu, 22 Jan 2015 14:14:34 +0100
Organization solani.org
Lines 32
Message-ID <m9qt3k$74c$1@solani.org> (permalink)
References <ttCdnYD1iYEQjl3JnZ2dnUVZ8v-dnZ2d@westnet.com.au> <2227075.ZdhQdnHKJ3@PointedEars.de> <m9p9im$dhi$1@solani.org> <20918931.tqhR82Bbs5@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace solani.org 1421932468 7308 eJwNxsERAEEEBMCUWAzpGEr+Idz1q8OgmHQEPC5uUjCsf9GQUfV1abtdeXxs0zzWK6OzO/gBJdERng== (22 Jan 2015 13:14:28 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 22 Jan 2015 13:14:28 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
X-User-ID eJwFwQkBwEAIAzBLfC3YgXH4l7AETuWXQTBwOG+xMT5mySjMTza2PEYvaa3+ZpYTDaDWfgz1ELs=
In-Reply-To <20918931.tqhR82Bbs5@PointedEars.de>
Cancel-Lock sha1:3GSTWvuqFsPN/S8SQOab6w4kZf8=
X-NNTP-Posting-Host eJwFwYEBwDAEBMCVGuExTj32HyF3dnFAVxjU1jZPzyQoWOWssCPgefyToldLmnoX568NvfIAK2kRpw==
Xref csiph.com comp.lang.javascript:26649

Show key headers only | View raw


Thomas 'PointedEars' Lahn wrote:

> Christoph M. Becker wrote:
> 
>> Thomas 'PointedEars' Lahn wrote:
>>> Andrew Poulos wrote:
>>>> […] I don't understand "$(audio).on('play', function() {"
>>>>
>>>> What is it doing?
>>>
>>> This is the jQuery way of adding an event listener for the “play” event
>>> to the element referred to by “audio”.  Apparently the standards-
>>> compliant
>>>
>>>   audio.onplay = function () {
>>>     AUTOPLAY = true;
>>>   };
>>>
>>> was too hard for them :->
>>
>> I had only found the onplay property of the MediaController
>> interface[1], but have not been able to verify that the HTMLAudioElement
>> interface is supposed to inherit MediaController.  Where is that
>> specified?
> 
> GlobalEventHandlers which is implemented by HTMLElement which is inherited 
> by HTMLMediaElement which is inherited by HTMLAudioElement.

Thanks.

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

test for autoplay Andrew Poulos <ap_prog@hotmail.com> - 2015-01-22 07:55 +1100
  Re: test for autoplay Scott Sauyet <scott.sauyet@gmail.com> - 2015-01-21 13:17 -0800
    Re: test for autoplay Andrew Poulos <ap_prog@hotmail.com> - 2015-01-22 08:42 +1100
  Re: test for autoplay Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-21 23:03 +0100
    Re: test for autoplay "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-21 23:35 +0100
      Re: test for autoplay Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-22 01:10 +0100
        Re: test for autoplay "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-22 14:14 +0100

csiph-web