shaka-player 4.6.8 → 4.6.10
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/CHANGELOG.md +26 -0
- package/dist/locales.js +31 -31
- package/dist/shaka-player.compiled.debug.js +92 -90
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +643 -641
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.debug.js +114 -114
- package/dist/shaka-player.ui.debug.map +2 -2
- package/dist/shaka-player.ui.js +609 -607
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/index.json +1 -0
- package/docs/tutorials/text-displayer.md +15 -0
- package/lib/cast/cast_proxy.js +18 -0
- package/lib/hls/hls_utils.js +5 -5
- package/lib/media/media_source_engine.js +1 -1
- package/lib/media/play_rate_controller.js +1 -0
- package/lib/player.js +35 -3
- package/lib/text/ttml_text_parser.js +5 -0
- package/lib/util/language_utils.js +7 -8
- package/lib/util/platform.js +18 -0
- package/lib/util/stream_utils.js +14 -0
- package/package.json +1 -1
- package/test/media/media_source_engine_unit.js +2 -2
- package/test/player_unit.js +19 -4
- package/test/text/ttml_text_parser_unit.js +16 -16
- package/ui/controls.js +3 -0
- package/ui/pip_button.js +5 -21
- package/ui/playback_rate_selection.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.6.10](https://github.com/shaka-project/shaka-player/compare/v4.6.9...v4.6.10) (2024-01-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Include text bandwidth in stats ([#6109](https://github.com/shaka-project/shaka-player/issues/6109)) ([34d75b1](https://github.com/shaka-project/shaka-player/commit/34d75b137c2ccd8fbff4acc1eb44766cbbefab2d))
|
|
9
|
+
* Reject Opus encrypted on Firefox Android ([#6115](https://github.com/shaka-project/shaka-player/issues/6115)) ([02689f8](https://github.com/shaka-project/shaka-player/commit/02689f8a85b2150a282bd8cce5d420e255df2320))
|
|
10
|
+
* **UI:** Disable PiP on casting ([#6110](https://github.com/shaka-project/shaka-player/issues/6110)) ([3167736](https://github.com/shaka-project/shaka-player/commit/3167736e61657b1560a82bed2d7ca4a43da7e30d))
|
|
11
|
+
|
|
12
|
+
## [4.6.9](https://github.com/shaka-project/shaka-player/compare/v4.6.8...v4.6.9) (2024-01-16)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* auto cancel trickPlay on live as specified ([#6100](https://github.com/shaka-project/shaka-player/issues/6100)) ([60c78f7](https://github.com/shaka-project/shaka-player/commit/60c78f7cab559afbef871aa447290266e52dadc1))
|
|
18
|
+
* Reset to default playback rate on release playback rate controller ([#6089](https://github.com/shaka-project/shaka-player/issues/6089)) ([e9c11cd](https://github.com/shaka-project/shaka-player/commit/e9c11cdb34800226666703b56b4fe5af0e4fcac0))
|
|
19
|
+
* stay paused after codec switch ([#6108](https://github.com/shaka-project/shaka-player/issues/6108)) ([2499947](https://github.com/shaka-project/shaka-player/commit/2499947275d8d10217068d0a1babf244538dfab5))
|
|
20
|
+
* **TTML:** Clip to video when extent is not present ([#6086](https://github.com/shaka-project/shaka-player/issues/6086)) ([17f8bb6](https://github.com/shaka-project/shaka-player/commit/17f8bb6711babaca0fc7437d7f4f7bc7d72050bf))
|
|
21
|
+
* **UI:** Update the playbackrate on loaded event ([#6090](https://github.com/shaka-project/shaka-player/issues/6090)) ([243c113](https://github.com/shaka-project/shaka-player/commit/243c113101299def0b3ba0a525581b707d90aab3))
|
|
22
|
+
* When disconnecting from chromecast, subtitles are turned off ([#6103](https://github.com/shaka-project/shaka-player/issues/6103)) ([f0b506b](https://github.com/shaka-project/shaka-player/commit/f0b506b8d77bc4da62466d8817d0241a079229d8))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Performance Improvements
|
|
26
|
+
|
|
27
|
+
* **HLS:** do not filter all tags to get the first tag ([#6088](https://github.com/shaka-project/shaka-player/issues/6088)) ([4704577](https://github.com/shaka-project/shaka-player/commit/4704577add1acb3435a052295cc8b2ec12c8cde7))
|
|
28
|
+
|
|
3
29
|
## [4.6.8](https://github.com/shaka-project/shaka-player/compare/v4.6.7...v4.6.8) (2024-01-11)
|
|
4
30
|
|
|
5
31
|
|
package/dist/locales.js
CHANGED
|
@@ -724,46 +724,46 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
724
724
|
* @const
|
|
725
725
|
*/
|
|
726
726
|
shaka.ui.Locales.Ids = {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
730
|
-
REWIND: 'REWIND',
|
|
731
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
732
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
733
|
-
UNMUTE: 'UNMUTE',
|
|
734
|
-
LANGUAGE: 'LANGUAGE',
|
|
735
|
-
SKIP_AD: 'SKIP_AD',
|
|
736
|
-
OFF: 'OFF',
|
|
737
|
-
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
738
|
-
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
727
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
728
|
+
STATISTICS: 'STATISTICS',
|
|
739
729
|
CAST: 'CAST',
|
|
740
|
-
|
|
730
|
+
OFF: 'OFF',
|
|
731
|
+
LOOP: 'LOOP',
|
|
732
|
+
REWIND: 'REWIND',
|
|
733
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
734
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
741
735
|
AD_PROGRESS: 'AD_PROGRESS',
|
|
742
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
743
|
-
STATISTICS: 'STATISTICS',
|
|
744
|
-
BACK: 'BACK',
|
|
745
|
-
LIVE: 'LIVE',
|
|
746
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
747
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
748
|
-
PLAY: 'PLAY',
|
|
749
736
|
RESOLUTION: 'RESOLUTION',
|
|
737
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
738
|
+
BACK: 'BACK',
|
|
739
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
740
|
+
UNMUTE: 'UNMUTE',
|
|
741
|
+
SEEK: 'SEEK',
|
|
742
|
+
REPLAY: 'REPLAY',
|
|
743
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
744
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
750
745
|
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
746
|
+
VOLUME: 'VOLUME',
|
|
747
|
+
CAPTIONS: 'CAPTIONS',
|
|
748
|
+
SKIP_AD: 'SKIP_AD',
|
|
749
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
750
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
751
751
|
MUTE: 'MUTE',
|
|
752
752
|
QUALITY: 'QUALITY',
|
|
753
|
-
|
|
753
|
+
SURROUND: 'SURROUND',
|
|
754
754
|
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
755
|
-
|
|
756
|
-
|
|
755
|
+
AIRPLAY: 'AIRPLAY',
|
|
756
|
+
PAUSE: 'PAUSE',
|
|
757
|
+
LANGUAGE: 'LANGUAGE',
|
|
757
758
|
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
758
|
-
|
|
759
|
+
LIVE: 'LIVE',
|
|
760
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
759
761
|
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
760
|
-
|
|
761
|
-
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
762
|
-
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
762
|
+
AD_TIME: 'AD_TIME',
|
|
763
763
|
ON: 'ON',
|
|
764
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
765
|
-
AIRPLAY: 'AIRPLAY',
|
|
766
|
-
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
767
|
-
VOLUME: 'VOLUME',
|
|
768
764
|
AD_DURATION: 'AD_DURATION',
|
|
765
|
+
PLAY: 'PLAY',
|
|
766
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
767
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
768
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
769
769
|
};
|