Skip to content
This repository was archived by the owner on Apr 30, 2022. It is now read-only.

Conversation

@richardebeling
Copy link
Contributor

@richardebeling richardebeling commented Nov 15, 2019

  • Update dependencies. I couldn't get any higher version of the rollup plugins to work, I think it might be related to incompatibility with higher rollup versions, but I'm not sure (gulp-rollup hasn't been updated for 2 years)
  • Improve the sliders (used for video progress and volume setting): Allow dragging and dropping. This was super annoying before. Fixes Let progress bar be changeable via Drag'n'Drop #23
  • Use buttons where it's semantically correct. This prevents the href previews being shown by the browser. The code also suppresses the keyboard focus being set to the clicked element. Before, when clicking the play button, you could not use the space key for pausing / unpausing anymore as it triggered the button as well as the hard-coded play-state change -> the video paused and then unpaused again.

The following packages caused issues, so I didn't update them (yet):
babel-preset-es2015 (should be repalces by @babel/preset-env ?)
gulp-babel
rollup-plugin-commonjd
rollup-plugin-node-resolve
Use buttons instead of <a href="javascript:void(0)"> when appropriate

This fixes two problems: When hovering buttons, earlier, browsers would
show the href destination with a little pop up on a corner of the
screen. Also, these elements would get the keyboard focus if clicked.
This is now solved.
Users can now drag-and-drop the volume as well as the position sliders.
…ouTube does this similarly, but they also pause the video and show the thumbnail images in the video frame. This solution is a bit simpler, but can be extended to what YouTube does.
gulp-rollup seem to be abandoned and depends on rollup 0.68.  However,
the current version is rollup 2. This disallowed for updating the
plugins.

If we just remove IE11 support, we can extremely simplify our build
process by completely removing gulp and just directly calling rollup.
This increases build speed by factor 3 while it allows for better
minification, reducing file size by 50%.

IE11 was broken on teleTASK any way and openHPI does not support IE11
anymore, so this should not break anything.

As a side effect, we have 15 less dev dependencies, which should make
maintenance easier.
ArrowUp / ArrowDown for volume changes (5% steps)
m for "mute"
<> and ;: for faster / slower
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let progress bar be changeable via Drag'n'Drop

2 participants