Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26288
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: click in mp4 |
| Date | 2014-12-09 10:51 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <874mt5m6zn.fsf@bsb.me.uk> (permalink) |
| References | <r8CdnTYAcoC-_RvJnZ2dnUVZ8vWdnZ2d@westnet.com.au> |
Andrew Poulos <ap_prog@hotmail.com> writes: > Is it possible for an mp4 video that is running natively in a HTML 5 > capable browser to pass the coordinates of the cursor when the video > is clicked on? I want to use JavaScript to control what "chapters" in > a video are played and I don't want "external" buttons. I hope you won't mind my re-wording this. Do you mean you want a client-side function to called, with the mouse position being passed, every time the user clicks on an HTML5 video element? I ask this because it works (as far as I know) the same as for any other element: add an even listener for the element, and it will be called with the event as an argument. -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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