shaka-player 3.3.13 → 3.3.15
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/.github/workflows/build-and-test.yaml +13 -0
- package/AUTHORS +2 -0
- package/CHANGELOG.md +28 -0
- package/CONTRIBUTORS +2 -0
- package/dist/deps.js +1 -1
- package/dist/locales.js +31 -31
- package/dist/shaka-player.compiled.debug.js +118 -111
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +712 -710
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.debug.js +206 -199
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +821 -820
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/welcome.md +2 -2
- package/externs/shaka/player.js +2 -1
- package/lib/ads/ad_manager.js +2 -2
- package/lib/cea/cea708_window.js +2 -2
- package/lib/dash/segment_template.js +1 -1
- package/lib/hls/hls_parser.js +8 -1
- package/lib/media/content_workarounds.js +12 -0
- package/lib/media/streaming_engine.js +20 -8
- package/lib/player.js +11 -2
- package/lib/polyfill/media_capabilities.js +59 -9
- package/lib/text/ttml_text_parser.js +32 -7
- package/lib/text/ui_text_displayer.js +22 -5
- package/lib/util/platform.js +21 -2
- package/lib/util/stream_utils.js +30 -10
- package/package.json +1 -1
- package/test/dash/dash_parser_manifest_unit.js +1 -0
- package/test/hls/hls_parser_unit.js +1 -0
- package/test/player_integration.js +10 -3
- package/test/polyfill/media_capabilities_unit.js +261 -0
- package/test/test/boot.js +29 -11
- package/test/test/util/test_scheme.js +2 -2
- package/test/text/mp4_ttml_parser_unit.js +4 -4
- package/test/text/ttml_text_parser_unit.js +119 -86
- package/test/text/ui_text_displayer_unit.js +76 -0
- package/test/ui/text_displayer_layout_unit.js +14 -0
- package/test/util/stream_utils_unit.js +18 -0
- package/test/util/xml_utils_unit.js +6 -1
- package/ui/controls.js +1 -1
|
@@ -87,6 +87,19 @@ jobs:
|
|
|
87
87
|
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'Firefox'
|
|
88
88
|
run: sudo apt -y update && sudo apt -y install ffmpeg
|
|
89
89
|
|
|
90
|
+
# Edge 107 fails DRM tests due to an outdated Widevine CDM. Force Edge
|
|
91
|
+
# to update to 108+.
|
|
92
|
+
- name: Upgrade Edge
|
|
93
|
+
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'Edge'
|
|
94
|
+
run: |
|
|
95
|
+
# If it's Edge 107, update it. Otherwise, don't. This way, we don't
|
|
96
|
+
# break something later when Edge 108+ is available by default in
|
|
97
|
+
# GitHub Actions.
|
|
98
|
+
if apt show microsoft-edge-stable | grep -q '^Version: 107'; then
|
|
99
|
+
wget https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_108.0.1462.46-1_amd64.deb
|
|
100
|
+
sudo dpkg -i microsoft-edge-stable_108.0.1462.46-1_amd64.deb
|
|
101
|
+
fi
|
|
102
|
+
|
|
90
103
|
- name: Checkout code
|
|
91
104
|
uses: actions/checkout@v3
|
|
92
105
|
with:
|
package/AUTHORS
CHANGED
|
@@ -62,6 +62,8 @@ Philo Inc. <*@philo.com>
|
|
|
62
62
|
Prakash <duggaraju@gmail.com>
|
|
63
63
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
64
64
|
Robert Galluccio <robertnw5@gmail.com>
|
|
65
|
+
Rodolphe Breton <robloche@gmail.com>
|
|
66
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
65
67
|
Roi Lipman <roilipman@gmail.com>
|
|
66
68
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
67
69
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.3.15](https://github.com/shaka-project/shaka-player/compare/v3.3.14...v3.3.15) (2022-12-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **chapters:** removed duplicate chapters by id ([#4810](https://github.com/shaka-project/shaka-player/issues/4810)) ([8fc7883](https://github.com/shaka-project/shaka-player/commit/8fc78835147dfee13749c2f09a1b27e0df5939b9))
|
|
9
|
+
* Fix duplicate updates in StreamingEngine ([#4840](https://github.com/shaka-project/shaka-player/issues/4840)) ([ca72438](https://github.com/shaka-project/shaka-player/commit/ca724387488ca6f8943b3caa9c63fe241d517a77)), closes [#4831](https://github.com/shaka-project/shaka-player/issues/4831)
|
|
10
|
+
* Fix rare exception after StreamingEngine teardown ([#4830](https://github.com/shaka-project/shaka-player/issues/4830)) ([6e170c6](https://github.com/shaka-project/shaka-player/commit/6e170c61768aa3946f3b2ab630b4f0cf214c825d)), closes [#4813](https://github.com/shaka-project/shaka-player/issues/4813)
|
|
11
|
+
|
|
12
|
+
## [3.3.14](https://github.com/shaka-project/shaka-player/compare/v3.3.13...v3.3.14) (2022-12-08)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 4676 - Virgin Media set top box is incorrectly categorized as Apple/Safari ([#4678](https://github.com/shaka-project/shaka-player/issues/4678)) ([dff6683](https://github.com/shaka-project/shaka-player/commit/dff66831ed9ad5844108bd0333c0f0f706863fcb)), closes [#4676](https://github.com/shaka-project/shaka-player/issues/4676)
|
|
18
|
+
* **cast:** Use cast platform APIs in MediaCapabilties polyfill ([#4727](https://github.com/shaka-project/shaka-player/issues/4727)) ([dccb28d](https://github.com/shaka-project/shaka-player/commit/dccb28da887ba6a51302a34a819d82c81387c850))
|
|
19
|
+
* **cea:** Fix MAX_ROWS in CEA-708 window ([#4757](https://github.com/shaka-project/shaka-player/issues/4757)) ([4909b0d](https://github.com/shaka-project/shaka-player/commit/4909b0d2f8ad4f34d4a082cab859e53e360c0a43))
|
|
20
|
+
* Fix bufferBehind setting broken by image segments ([#4718](https://github.com/shaka-project/shaka-player/issues/4718)) ([f9121b5](https://github.com/shaka-project/shaka-player/commit/f9121b520e9178e195f342070c863741d1962c3e)), closes [#4717](https://github.com/shaka-project/shaka-player/issues/4717)
|
|
21
|
+
* Fix DRM workaround for Tizen and Xbox with hvc1/hev1 boxes ([#4743](https://github.com/shaka-project/shaka-player/issues/4743)) ([a84fe2a](https://github.com/shaka-project/shaka-player/commit/a84fe2ae1428055c8f1b565056c563b7c2e38aa7)), closes [#4742](https://github.com/shaka-project/shaka-player/issues/4742)
|
|
22
|
+
* Fix subtitles not added to DOM region ([#4733](https://github.com/shaka-project/shaka-player/issues/4733)) ([a42b803](https://github.com/shaka-project/shaka-player/commit/a42b803b9928648c26b54971809e0939495ae5d7)), closes [#4680](https://github.com/shaka-project/shaka-player/issues/4680)
|
|
23
|
+
* **HLS:** Fix lowLatencyPresentationDelay when using autoLowLatencyMode ([#4712](https://github.com/shaka-project/shaka-player/issues/4712)) ([a9bb695](https://github.com/shaka-project/shaka-player/commit/a9bb6955351520c5f079afa752b990f942773d7f))
|
|
24
|
+
* **HLS:** Fix support legacy AVC1 codec used in HLS ([#4716](https://github.com/shaka-project/shaka-player/issues/4716)) ([8dcab18](https://github.com/shaka-project/shaka-player/commit/8dcab182d8c6ab545ff286f08eefaefb93a36662))
|
|
25
|
+
* **HLS:** Single alternative video renditions not working ([#4785](https://github.com/shaka-project/shaka-player/issues/4785)) ([4d2371f](https://github.com/shaka-project/shaka-player/commit/4d2371f7caf95a0145de58a9331d2dc9fcf7d2fa))
|
|
26
|
+
* **TTML:** Add font-family mapping ([#4801](https://github.com/shaka-project/shaka-player/issues/4801)) ([7e93455](https://github.com/shaka-project/shaka-player/commit/7e934556905e8be9f09de3efe81382b90978175f))
|
|
27
|
+
* **TTML:** Fix duplicate cues overlapping segment boundaries ([#4798](https://github.com/shaka-project/shaka-player/issues/4798)) ([be98ae3](https://github.com/shaka-project/shaka-player/commit/be98ae3720051c87a7685bb84aaa70567c5e3cb7)), closes [#4631](https://github.com/shaka-project/shaka-player/issues/4631)
|
|
28
|
+
* **ui:** Check event cancelable before event.preventDefault ([#4690](https://github.com/shaka-project/shaka-player/issues/4690)) ([4a9a2f2](https://github.com/shaka-project/shaka-player/commit/4a9a2f2da53af1216971ebf742a7a04ea14193c5))
|
|
29
|
+
* WebVTT line not correctly positioned in UITextDisplayer ([#4567](https://github.com/shaka-project/shaka-player/issues/4567)) ([#4682](https://github.com/shaka-project/shaka-player/issues/4682)) ([fecf044](https://github.com/shaka-project/shaka-player/commit/fecf044119704fd41db5c4d5ee7ed3deb492d862))
|
|
30
|
+
|
|
3
31
|
## [3.3.13](https://github.com/shaka-project/shaka-player/compare/v3.3.12...v3.3.13) (2022-11-09)
|
|
4
32
|
|
|
5
33
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -92,7 +92,9 @@ Peter Nycander <peter.nycander@gmail.com>
|
|
|
92
92
|
Prakash Duggaraju <duggaraju@gmail.com>
|
|
93
93
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
94
94
|
Robert Galluccio <robertnw5@gmail.com>
|
|
95
|
+
Rodolphe Breton <robloche@gmail.com>
|
|
95
96
|
Rohit Makasana <rohitbm@google.com>
|
|
97
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
96
98
|
Roi Lipman <roilipman@gmail.com>
|
|
97
99
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
98
100
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
package/dist/deps.js
CHANGED
|
@@ -114,7 +114,7 @@ goog.addDependency('../../../../lib/polyfill/aria.js', ['shaka.polyfill.Aria'],
|
|
|
114
114
|
goog.addDependency('../../../../lib/polyfill/encryption_scheme.js', ['shaka.polyfill.EncryptionScheme'], ['shaka.polyfill'], {'lang': 'es6'});
|
|
115
115
|
goog.addDependency('../../../../lib/polyfill/fullscreen.js', ['shaka.polyfill.Fullscreen'], ['shaka.polyfill'], {'lang': 'es6'});
|
|
116
116
|
goog.addDependency('../../../../lib/polyfill/mathround.js', ['shaka.polyfill.MathRound'], ['shaka.log', 'shaka.polyfill'], {'lang': 'es6'});
|
|
117
|
-
goog.addDependency('../../../../lib/polyfill/media_capabilities.js', ['shaka.polyfill.MediaCapabilities'], ['shaka.log', 'shaka.polyfill', 'shaka.util.Platform'], {'lang': 'es8'});
|
|
117
|
+
goog.addDependency('../../../../lib/polyfill/media_capabilities.js', ['shaka.polyfill.MediaCapabilities'], ['shaka.log', 'shaka.polyfill', 'shaka.util.Error', 'shaka.util.Platform'], {'lang': 'es8'});
|
|
118
118
|
goog.addDependency('../../../../lib/polyfill/mediasource.js', ['shaka.polyfill.MediaSource'], ['shaka.log', 'shaka.polyfill', 'shaka.util.MimeUtils', 'shaka.util.Platform'], {'lang': 'es6'});
|
|
119
119
|
goog.addDependency('../../../../lib/polyfill/orientation.js', ['shaka.polyfill.Orientation'], ['shaka.polyfill', 'shaka.util.FakeEvent', 'shaka.util.FakeEventTarget'], {'lang': 'es6'});
|
|
120
120
|
goog.addDependency('../../../../lib/polyfill/patchedmediakeys_apple.js', ['shaka.polyfill.PatchedMediaKeysApple'], ['goog.asserts', 'shaka.log', 'shaka.media.DrmEngine', 'shaka.polyfill', 'shaka.util.BufferUtils', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.FakeEventTarget', 'shaka.util.MediaReadyState', 'shaka.util.PublicPromise', 'shaka.util.StringUtils'], {'lang': 'es6'});
|
package/dist/locales.js
CHANGED
|
@@ -720,44 +720,44 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
720
720
|
* @const
|
|
721
721
|
*/
|
|
722
722
|
shaka.ui.Locales.Ids = {
|
|
723
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
724
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
725
|
-
STATISTICS: 'STATISTICS',
|
|
726
|
-
BACK: 'BACK',
|
|
727
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
728
723
|
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
729
|
-
|
|
730
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
731
|
-
LOOP: 'LOOP',
|
|
724
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
732
725
|
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
SKIP_AD: 'SKIP_AD',
|
|
738
|
-
LIVE: 'LIVE',
|
|
739
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
740
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
741
|
-
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
742
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
726
|
+
LANGUAGE: 'LANGUAGE',
|
|
727
|
+
ON: 'ON',
|
|
728
|
+
CAST: 'CAST',
|
|
729
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
743
730
|
PLAY: 'PLAY',
|
|
731
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
744
732
|
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
745
|
-
|
|
733
|
+
AD_DURATION: 'AD_DURATION',
|
|
734
|
+
REWIND: 'REWIND',
|
|
735
|
+
CAPTIONS: 'CAPTIONS',
|
|
736
|
+
LIVE: 'LIVE',
|
|
737
|
+
PAUSE: 'PAUSE',
|
|
738
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
739
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
740
|
+
VOLUME: 'VOLUME',
|
|
741
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
742
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
746
743
|
AIRPLAY: 'AIRPLAY',
|
|
744
|
+
REPLAY: 'REPLAY',
|
|
747
745
|
MUTE: 'MUTE',
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
VOLUME: 'VOLUME',
|
|
752
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
746
|
+
BACK: 'BACK',
|
|
747
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
748
|
+
STATISTICS: 'STATISTICS',
|
|
753
749
|
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
ON: 'ON',
|
|
750
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
751
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
752
|
+
SKIP_AD: 'SKIP_AD',
|
|
753
|
+
UNMUTE: 'UNMUTE',
|
|
759
754
|
OFF: 'OFF',
|
|
755
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
756
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
760
757
|
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
761
|
-
|
|
762
|
-
|
|
758
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
759
|
+
AD_TIME: 'AD_TIME',
|
|
760
|
+
SEEK: 'SEEK',
|
|
761
|
+
RESOLUTION: 'RESOLUTION',
|
|
762
|
+
LOOP: 'LOOP',
|
|
763
763
|
};
|