- By placing the event handler on the video element, we ensure we don't
receive it when a choice item was clicked.
- Use preventDefault to avoid the pause-and-immediately-unpause
problem due to the video element itself also handling the event.
When the video controls are visible, the video is paused, and the
video element is focused, pressing Space would unpause the video and
then immediately pause it again.
- Update them when the playback position changes by any means, not
just when playing a certain chapter
- Include moments (choices) in hash and title
- Use choice descriptions in titles
- Allow meaningful back/forward navigation through chapters and choices
- Don't apply impressions when the player seeks into moments with
impression data
- Fix false positives when seeking within the first few seconds of a
segment
WIP.
- Fixes a family of bugs such as pausing the video during a choice
resulting in the video resuming at the default choice (while still
paused) after a while.
- Unifies tracking of moments and cleans up redundant code.
- Fixes unnecessary stutter when transitioning between two segments
that are adjacent in the video file.