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


Groups > comp.lang.javascript > #26293

Re: click in mp4

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: click in mp4
Date 2014-12-09 18:50 +0100
Organization PointedEars Software (PES)
Message-ID <6536263.SRYisuT2OD@PointedEars.de> (permalink)
References <r8CdnTYAcoC-_RvJnZ2dnUVZ8vWdnZ2d@westnet.com.au>

Show all headers | View raw


Andrew Poulos wrote:

> 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?

No, but the event listener of a _HTML5_ “video” element that displays it 
can.  This is one of the advantages of the “video” element.

> I want to use JavaScript to control what "chapters" in a
> video are played and I don't want "external" buttons.

The better approach is to upload this to YouTube and embed chapter links.  
Otherwise you need to consider video scaling and time index.

-- 
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