shaka-player 4.9.25 → 4.9.26

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.
@@ -2000,8 +2000,8 @@ shaka.media.StreamingEngine = class {
2000
2000
  reference.startTime <= appendWindowEnd,
2001
2001
  logPrefix + ' segment should start before append window end');
2002
2002
 
2003
- const codecs = MimeUtils.getCodecBase(
2004
- reference.codecs || mediaState.stream.codecs);
2003
+ const fullCodecs = (reference.codecs || mediaState.stream.codecs);
2004
+ const codecs = MimeUtils.getCodecBase(fullCodecs);
2005
2005
  const mimeType = MimeUtils.getBasicType(
2006
2006
  reference.mimeType || mediaState.stream.mimeType);
2007
2007
  const timestampOffset = reference.timestampOffset;
@@ -2019,7 +2019,7 @@ shaka.media.StreamingEngine = class {
2019
2019
  const isResetMediaSourceNecessary =
2020
2020
  mediaState.lastCodecs && mediaState.lastMimeType &&
2021
2021
  this.playerInterface_.mediaSourceEngine.isResetMediaSourceNecessary(
2022
- mediaState.type, mediaState.stream, mimeType, codecs);
2022
+ mediaState.type, mediaState.stream, mimeType, fullCodecs);
2023
2023
  if (isResetMediaSourceNecessary) {
2024
2024
  let otherState = null;
2025
2025
  if (mediaState.type === ContentType.VIDEO) {
package/lib/player.js CHANGED
@@ -7518,7 +7518,7 @@ shaka.Player.TYPICAL_BUFFERING_THRESHOLD_ = 0.5;
7518
7518
  * @export
7519
7519
  */
7520
7520
  // eslint-disable-next-line no-useless-concat
7521
- shaka.Player.version = 'v4.9.25' + '-uncompiled'; // x-release-please-version
7521
+ shaka.Player.version = 'v4.9.26' + '-uncompiled'; // x-release-please-version
7522
7522
 
7523
7523
  // Initialize the deprecation system using the version string we just set
7524
7524
  // 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.9.25",
4
+ "version": "4.9.26",
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;