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.
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/locales.js +37 -37
- package/dist/shaka-player.compiled.debug.js +313 -313
- package/dist/shaka-player.compiled.debug.map +2 -2
- package/dist/shaka-player.compiled.js +342 -342
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.debug.js +308 -308
- package/dist/shaka-player.ui.debug.map +2 -2
- package/dist/shaka-player.ui.js +470 -471
- 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
|
@@ -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
|
|
1969
|
-
|
|
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,
|
|
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.
|
|
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
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;
|