@brightspace-ui/labs 2.63.3 → 2.63.4

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
@@ -112,5 +112,5 @@
112
112
  "parse-srt": "^1.0.0-alpha",
113
113
  "webvtt-parser": "^2"
114
114
  },
115
- "version": "2.63.3"
115
+ "version": "2.63.4"
116
116
  }
@@ -253,10 +253,7 @@ export const MediaPlayerAudioDescriptionsMixin = superclass => class extends sup
253
253
  if (!track) return;
254
254
 
255
255
  if (currentTime < this._audioDescriptionPreviousTime) {
256
- this._audioDescriptionIndex = track.descriptions.findIndex(description => description.time >= currentTime);
257
- if (this._audioDescriptionIndex < 0) this._audioDescriptionIndex = track.descriptions.length;
258
- this._cancelAudioDescription();
259
- this._activeDescriptionCue = null;
256
+ this._resetAudioDescriptionCursor(currentTime);
260
257
  }
261
258
 
262
259
  const next = track.descriptions[this._audioDescriptionIndex];