shaka-player 4.7.2 → 4.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shaka-player",
3
3
  "description": "DASH/EME video player library",
4
- "version": "4.7.2",
4
+ "version": "4.7.3",
5
5
  "homepage": "https://github.com/shaka-project/shaka-player",
6
6
  "author": "Google",
7
7
  "maintainers": [
@@ -44,7 +44,11 @@ shaka.ui.HiddenSeekButton = class extends shaka.ui.Element {
44
44
  this.seekContainer = shaka.util.Dom.createHTMLElement('div');
45
45
  this.parent.appendChild(this.seekContainer);
46
46
 
47
- this.eventManager.listen(this.seekContainer, 'touchstart', (event) => {
47
+ this.eventManager.listen(this.seekContainer, 'touchend', (event) => {
48
+ // Do nothing if the controls are not visible
49
+ if (!this.controls.isOpaque()) {
50
+ return;
51
+ }
48
52
  // In case any settings menu are open this assigns the first touch
49
53
  // to close the menu.
50
54
  if (this.controls.anySettingsMenusAreOpen()) {