shaka-player 4.10.13 → 4.10.14

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.
@@ -1965,8 +1965,8 @@ shaka.media.StreamingEngine = class {
1965
1965
  reference.startTime <= appendWindowEnd,
1966
1966
  logPrefix + ' segment should start before append window end');
1967
1967
 
1968
- const codecs = MimeUtils.getCodecBase(
1969
- reference.codecs || mediaState.stream.codecs);
1968
+ const fullCodecs = (reference.codecs || mediaState.stream.codecs);
1969
+ const codecs = MimeUtils.getCodecBase(fullCodecs);
1970
1970
  const mimeType = MimeUtils.getBasicType(
1971
1971
  reference.mimeType || mediaState.stream.mimeType);
1972
1972
  const timestampOffset = reference.timestampOffset;
@@ -1984,7 +1984,7 @@ shaka.media.StreamingEngine = class {
1984
1984
  const isResetMediaSourceNecessary =
1985
1985
  mediaState.lastCodecs && mediaState.lastMimeType &&
1986
1986
  this.playerInterface_.mediaSourceEngine.isResetMediaSourceNecessary(
1987
- mediaState.type, mediaState.stream, mimeType, codecs);
1987
+ mediaState.type, mediaState.stream, mimeType, fullCodecs);
1988
1988
  if (isResetMediaSourceNecessary) {
1989
1989
  let otherState = null;
1990
1990
  if (mediaState.type === ContentType.VIDEO) {
package/lib/player.js CHANGED
@@ -7848,7 +7848,7 @@ shaka.Player.TYPICAL_BUFFERING_THRESHOLD_ = 0.5;
7848
7848
  * @export
7849
7849
  */
7850
7850
  // eslint-disable-next-line no-useless-concat
7851
- shaka.Player.version = 'v4.10.13' + '-uncompiled'; // x-release-please-version
7851
+ shaka.Player.version = 'v4.10.14' + '-uncompiled'; // x-release-please-version
7852
7852
 
7853
7853
  // Initialize the deprecation system using the version string we just set
7854
7854
  // on the player.
@@ -710,10 +710,6 @@ shaka.text.UITextDisplayer = class {
710
710
  // Only do this for the text itself.
711
711
  elem.style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
712
712
  }
713
- const fontFamily = inherit((c) => c.fontFamily);
714
- if (fontFamily) {
715
- elem.style.fontFamily = fontFamily;
716
- }
717
713
  }
718
714
  if (text) {
719
715
  elem.textContent = text;
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.10.13",
4
+ "version": "4.10.14",
5
5
  "homepage": "https://github.com/shaka-project/shaka-player",
6
6
  "author": "Google",
7
7
  "maintainers": [
@@ -22,10 +22,9 @@
22
22
  }
23
23
 
24
24
  /* Set the fonts for all other content. */
25
- * {
26
- font-family: Roboto-Regular, Roboto, sans-serif, TengwarTelcontar;
27
- -webkit-font-smoothing: antialiased;
28
- }
25
+ font-family: Roboto, sans-serif, TengwarTelcontar;
26
+ font-weight: normal;
27
+ -webkit-font-smoothing: antialiased;
29
28
  }
30
29
 
31
30
  /* Each browser has a different prefixed pseudo-class for fullscreened elements.
@@ -47,7 +47,7 @@
47
47
  content: attr(aria-label);
48
48
 
49
49
  /* Override .material-icons-round text styling */
50
- font-family: Roboto-Regular, Roboto, sans-serif;
50
+ font-family: Roboto, sans-serif;
51
51
  line-height: calc(@material-icons-width / 2);
52
52
  white-space: nowrap;
53
53
  font-size: 13px;