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


Groups > comp.lang.javascript > #26294

Re: click in mp4

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: click in mp4
Date Tue, 09 Dec 2014 19:29:17 +0100
Organization PointedEars Software (PES)
Lines 21
Message-ID <2025585.Jv9v2AemPM@PointedEars.de> (permalink)
References <r8CdnTYAcoC-_RvJnZ2dnUVZ8vWdnZ2d@westnet.com.au> <874mt5m6zn.fsf@bsb.me.uk>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1418149758 14753 eJwVy8ERwDAIA7CVcAyGjkPosf8IveqvoKBJV8hjY2Hddc7Ke08jde8YSELvBGaMTNCe+lP5BxBUECM= (9 Dec 2014 18:29:18 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 9 Dec 2014 18:29:18 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwYEBwDAEBMCVKB7jJPL2H6F3YVBMOgIeG2t32Dp3LzkHloOivIhaep8v6ZKNOa9aVGll3vUFTLVF7Ad4JhUP
Cancel-Lock sha1:eCPWM2OyGdhemrjKdezbL2GJHdY=
X-NNTP-Posting-Host eJwNw4ENwDAIA7CXBiG0nNPC8v8JmyUTadkrkhkUJbLuMxjf+aLVMYbt/q9C1B1bB+qG8ajzAxdXEQc=
Xref csiph.com comp.lang.javascript:26294

Show key headers only | View raw


Ben Bacarisse wrote:

> […] it works (as far as I know) the same as for any other element:
> add an [event] listener for the element, and it will be called with the
> event as an argument.

If you exclude software that uses MSHTML 8 or earlier, or MSHTML 9 in 
Compatibility Mode, and similarly outdated software that does not implement 
W3C DOM Level 2+ Events, then you are almost correct: one would add an event 
listener _to_ the element *for* an event *type*, and it is a *reference* to 
an event object that is passed as argument value.

AFAIK there is no remotely HTML5-compliant software (in this case: one that 
supports the “video” element as specified) that does not implement W3C DOM 
Level 2+ Events.
 
-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

click in mp4 Andrew Poulos <ap_prog@hotmail.com> - 2014-12-09 13:31 +1100
  Re: click in mp4 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-12-09 10:03 +0100
    Re: click in mp4 Andrew Poulos <ap_prog@hotmail.com> - 2014-12-10 07:38 +1100
      Re: click in mp4 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-12-09 22:57 +0100
        Re: click in mp4 Andrew Poulos <ap_prog@hotmail.com> - 2014-12-10 09:36 +1100
          Re: click in mp4 "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-12-10 09:59 +0100
  Re: click in mp4 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-12-09 10:51 +0000
    Re: click in mp4 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-09 19:29 +0100
  Re: click in mp4 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-09 18:50 +0100
  Re: click in mp4 Bart Van der Donck <bart@nijlen.com> - 2014-12-10 03:40 -0800

csiph-web