shaka-player 3.3.14 → 3.3.16
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 +1 -0
- package/CHANGELOG.md +20 -0
- package/CONTRIBUTORS +1 -0
- package/dist/locales.js +32 -32
- package/dist/shaka-player.compiled.debug.js +79 -77
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +247 -247
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.debug.js +93 -91
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +262 -261
- package/dist/shaka-player.ui.map +3 -3
- package/lib/ads/ad_manager.js +2 -2
- package/lib/media/streaming_engine.js +20 -8
- package/lib/player.js +17 -2
- package/lib/text/ui_text_displayer.js +24 -4
- package/lib/text/web_vtt_generator.js +21 -9
- package/lib/util/dom_utils.js +3 -1
- package/lib/util/stream_utils.js +6 -0
- package/lib/util/timer.js +17 -0
- package/package.json +1 -1
- package/test/player_integration.js +37 -3
- package/test/player_unit.js +4 -2
- package/test/test/boot.js +29 -11
- package/test/test/util/test_scheme.js +2 -2
- package/test/text/ui_text_displayer_unit.js +70 -0
|
@@ -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
|
@@ -63,6 +63,7 @@ Prakash <duggaraju@gmail.com>
|
|
|
63
63
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
64
64
|
Robert Galluccio <robertnw5@gmail.com>
|
|
65
65
|
Rodolphe Breton <robloche@gmail.com>
|
|
66
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
66
67
|
Roi Lipman <roilipman@gmail.com>
|
|
67
68
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
68
69
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.3.16](https://github.com/shaka-project/shaka-player/compare/v3.3.15...v3.3.16) (2023-01-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Fix flattenedCues in WebVttGenerator ([#4867](https://github.com/shaka-project/shaka-player/issues/4867)) ([45af59e](https://github.com/shaka-project/shaka-player/commit/45af59e90fe8df66ec48bb32d8db4973181a48bf))
|
|
9
|
+
* Fix legacy codec support by rewriting codec metadata ([#4858](https://github.com/shaka-project/shaka-player/issues/4858)) ([bec765c](https://github.com/shaka-project/shaka-player/commit/bec765c467ceffa9c60bc3be657f92ab298a30c1))
|
|
10
|
+
* Release region timeline when unloading ([#4871](https://github.com/shaka-project/shaka-player/issues/4871)) ([4b2c945](https://github.com/shaka-project/shaka-player/commit/4b2c945419f142525b4662385674957e43e1a2d5)), closes [#4850](https://github.com/shaka-project/shaka-player/issues/4850)
|
|
11
|
+
* Treat regions uniquely ([#4841](https://github.com/shaka-project/shaka-player/issues/4841)) ([1c63ab0](https://github.com/shaka-project/shaka-player/commit/1c63ab0d46d10af4cba49e78a095986d309fce3d)), closes [#4839](https://github.com/shaka-project/shaka-player/issues/4839)
|
|
12
|
+
* **ui:** Avoid submitting form if player is inside form ([#4866](https://github.com/shaka-project/shaka-player/issues/4866)) ([37c7cf9](https://github.com/shaka-project/shaka-player/commit/37c7cf99cd5f7293ee0ff20c17551b10c2294266)), closes [#4861](https://github.com/shaka-project/shaka-player/issues/4861)
|
|
13
|
+
|
|
14
|
+
## [3.3.15](https://github.com/shaka-project/shaka-player/compare/v3.3.14...v3.3.15) (2022-12-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
* 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)
|
|
21
|
+
* 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)
|
|
22
|
+
|
|
3
23
|
## [3.3.14](https://github.com/shaka-project/shaka-player/compare/v3.3.13...v3.3.14) (2022-12-08)
|
|
4
24
|
|
|
5
25
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -94,6 +94,7 @@ Robert Colantuoni <rgc@colantuoni.com>
|
|
|
94
94
|
Robert Galluccio <robertnw5@gmail.com>
|
|
95
95
|
Rodolphe Breton <robloche@gmail.com>
|
|
96
96
|
Rohit Makasana <rohitbm@google.com>
|
|
97
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
97
98
|
Roi Lipman <roilipman@gmail.com>
|
|
98
99
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
99
100
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
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
|
-
|
|
724
|
-
|
|
725
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
723
|
+
SEEK: 'SEEK',
|
|
724
|
+
PLAY: 'PLAY',
|
|
726
725
|
SKIP_AD: 'SKIP_AD',
|
|
727
|
-
|
|
728
|
-
PAUSE: 'PAUSE',
|
|
726
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
729
727
|
OFF: 'OFF',
|
|
728
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
730
729
|
REWIND: 'REWIND',
|
|
731
|
-
|
|
730
|
+
LANGUAGE: 'LANGUAGE',
|
|
731
|
+
VOLUME: 'VOLUME',
|
|
732
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
733
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
734
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
735
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
736
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
732
737
|
AD_TIME: 'AD_TIME',
|
|
733
|
-
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
734
738
|
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
735
|
-
|
|
736
|
-
ON: 'ON',
|
|
737
|
-
CAPTIONS: 'CAPTIONS',
|
|
738
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
739
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
740
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
741
|
-
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
742
|
-
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
743
|
-
AD_DURATION: 'AD_DURATION',
|
|
739
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
744
740
|
MUTE: 'MUTE',
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
741
|
+
AIRPLAY: 'AIRPLAY',
|
|
742
|
+
AD_DURATION: 'AD_DURATION',
|
|
743
|
+
LOOP: 'LOOP',
|
|
744
|
+
CAST: 'CAST',
|
|
745
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
746
|
+
UNMUTE: 'UNMUTE',
|
|
747
|
+
REPLAY: 'REPLAY',
|
|
748
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
749
|
+
STATISTICS: 'STATISTICS',
|
|
750
|
+
RESOLUTION: 'RESOLUTION',
|
|
751
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
752
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
748
753
|
LIVE: 'LIVE',
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
754
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
755
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
752
756
|
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
760
|
-
RESOLUTION: 'RESOLUTION',
|
|
761
|
-
AIRPLAY: 'AIRPLAY',
|
|
762
|
-
SEEK: 'SEEK',
|
|
757
|
+
CAPTIONS: 'CAPTIONS',
|
|
758
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
759
|
+
BACK: 'BACK',
|
|
760
|
+
PAUSE: 'PAUSE',
|
|
761
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
762
|
+
ON: 'ON',
|
|
763
763
|
};
|