@eluvio/elv-player-js 1.0.93 → 1.0.94

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "![Eluvio Logo](src/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
@@ -607,9 +607,13 @@ class PlayerControls {
607
607
  }
608
608
 
609
609
  this.progressHidden = true;
610
- } else if(this.progressHidden) {
611
- this.progressHidden = false;
612
- controls.classList.remove("eluvio-player__controls-no-progress");
610
+ } else {
611
+ progressSlider.step = Math.min(1 / (this.video.duration / 5), 0.01).toFixed(4);
612
+
613
+ if(this.progressHidden) {
614
+ this.progressHidden = false;
615
+ controls.classList.remove("eluvio-player__controls-no-progress");
616
+ }
613
617
  }
614
618
 
615
619
  totalTime.innerHTML = Time(this.video.duration, this.video.duration);