On 09/19/2016 07:41 AM, Simon Pieters wrote:
There is always room for adding convenience APIs, it's a matter of
demonstrating that it's a common enough need to make it worth the cost
of adding it.
https://wiki.whatwg.org/wiki/FAQ#Where.27s_the_harm_in_adding.E2.80.94
HTH,
* OFF TOPIC *
Goi
On Sun, 18 Sep 2016 18:45:51 +0200, Melvin Carvalho
wrote:
The pauseOnExit attribute on VTTCue can be used for this purpose. See
https://html.spec.whatwg.org/multipage/embedded-content.html
#text-track-api:the-audio-element for an example.
Thank you for both answers!
I found pauseOnExit t
IMO this should be a feature of TextTrackCue and has no relevance to VTTCue
specifically. There's implementation overloading here that is mixing concerns
unhelpfully.
Discuss!
Nigel
On 18 Sep 2016, at 17:46, Melvin Carvalho
mailto:melvincarva...@gmail.com>> wrote:
On 18 September 2016 at 14:
On 18 September 2016 at 14:44, Simon Pieters wrote:
> On Sun, 18 Sep 2016 01:21:27 +0200, Melvin Carvalho <
> melvincarva...@gmail.com> wrote:
>
> Apologies if this has come up before, but I was wondering if it would be
>> possible to add simple parameters to the play() function.
>>
>> They would
On Sun, 18 Sep 2016 01:21:27 +0200, Melvin Carvalho
wrote:
Apologies if this has come up before, but I was wondering if it would be
possible to add simple parameters to the play() function.
They would be
play(start, end)
Where start and end are the times in seconds.
I know you can do
vid
You can add an event listener to the video element on the `timeupdate`
event and pause the video when the videos' time is at/past the time you
want to stop, but your idea does sound more convenient.
On Sat, Sep 17, 2016 at 5:21 PM, Melvin Carvalho
wrote:
> Apologies if this has come up before, b
Apologies if this has come up before, but I was wondering if it would be
possible to add simple parameters to the play() function.
They would be
play(start, end)
Where start and end are the times in seconds.
I know you can do
video.currentTime = start ; video.play()
But there's no real easy w