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


Groups > comp.lang.javascript > #26298

Re: click in mp4

Newsgroups comp.lang.javascript
Subject Re: click in mp4
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <r8CdnTYAcoC-_RvJnZ2dnUVZ8vWdnZ2d@westnet.com.au> <XnsA3FE66655D9A8eejj99@194.109.133.133> <VaadnUBQ479-wxrJnZ2dnUVZ8i2dnZ2d@westnet.com.au>
Date 2014-12-09 22:57 +0100
Message-ID <XnsA3FEE975D7BBEeejj99@194.109.133.133> (permalink)

Show all headers | View raw


Andrew Poulos <ap_prog@hotmail.com> wrote on 09 dec 2014 in 
comp.lang.javascript:

> On 9/12/2014 8:03 PM, Evertjan. wrote:
>> Andrew Poulos <ap_prog@hotmail.com> wrote on 09 dec 2014 in
>> comp.lang.javascript:
>>
>>> 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?
>>
>> You cannot click on an mp4-video as it is a file or a stream,
>> and surely such stream cannot pass coordinates,
>> also as a stream "cursor" has only one dimension.
>>
>> Even if I try to guess what you really mean,
>> it seems to me that you should read the specs of HTML5 video playing.
>>
>>> I want to use JavaScript to control what "chapters" in a
>>> video are played and I don't want "external" buttons.
>>
>> It is nice to know what you want and don't want,
>> while trying to imagine what "internal" buttons are,
>> but even if that would impact on the top Q,
>> that does not make this top Q an on-topic Q for this NG.
>>
> Sorry for being unclear but I didn't know how to word my question any 
> better. I want to be able to click a video and then, depending on what 
> part of the video was clicked, the video would jump to a different part 
> (a chapter).
> 
> Anyhow my question was answered 

I doubt that.

> and I'm now looking into using event 
> listeners with the video element.

The event-listeners will possibly give you the pixel-coordinates 
of the mouse[-cursor], is that what you wanted?

What do those coordinates have to do with the "chapter" [your word]?

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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