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.
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/locales.js +33 -33
- package/dist/shaka-player.compiled.debug.js +159 -159
- package/dist/shaka-player.compiled.debug.map +2 -2
- package/dist/shaka-player.compiled.js +300 -300
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.debug.js +170 -170
- package/dist/shaka-player.ui.debug.map +2 -2
- package/dist/shaka-player.ui.js +129 -130
- package/dist/shaka-player.ui.map +3 -3
- package/lib/media/streaming_engine.js +3 -3
- package/lib/player.js +1 -1
- package/lib/text/ui_text_displayer.js +0 -4
- package/package.json +1 -1
- package/ui/less/containers.less +3 -4
- package/ui/less/tooltip.less +1 -1
|
@@ -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
|
|
2004
|
-
|
|
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,
|
|
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.
|
|
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
package/ui/less/containers.less
CHANGED
|
@@ -22,10 +22,9 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/* Set the fonts for all other content. */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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.
|
package/ui/less/tooltip.less
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
content: attr(aria-label);
|
|
48
48
|
|
|
49
49
|
/* Override .material-icons-round text styling */
|
|
50
|
-
font-family: Roboto
|
|
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;
|