Skip to content

Restart video if it reaches the end#1

Open
Domratchev wants to merge 2 commits into
virpo:masterfrom
Domratchev:master
Open

Restart video if it reaches the end#1
Domratchev wants to merge 2 commits into
virpo:masterfrom
Domratchev:master

Conversation

@Domratchev

Copy link
Copy Markdown

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

'timeupdate' event frequency varies greatly as per https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/timeupdate_event and might be too low to fire before the video completion. It does fire once upon completion of the video, at which point the video gets paused and becomes useless.
We need to restart the video in such a case.

Additional Info

Possibly resolves richtr#39 and richtr#72, as the reduced frequency of 'timeupdate' calls is likely the root cause of those two issues.

@Venryx

Venryx commented Jul 29, 2019

Copy link
Copy Markdown

Can this be merged or at least looked at? (It looks correct to me and adds helpful typings)

Repository owner deleted a comment from Domratchev Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using Chrome's speech recognition API on Android

3 participants