shaka-player 3.2.2 → 3.3.2

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.
Files changed (188) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +1 -1
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +1 -1
  3. package/.github/ISSUE_TEMPLATE/question.md +1 -1
  4. package/.github/workflows/build_and_test.yaml +73 -0
  5. package/.github/workflows/release.yaml +53 -0
  6. package/AUTHORS +6 -5
  7. package/CHANGELOG.md +314 -1
  8. package/CONTRIBUTORS +4 -2
  9. package/build/checkversion.py +1 -1
  10. package/build/conformance.textproto +183 -169
  11. package/build/test.py +6 -0
  12. package/build/types/core +3 -0
  13. package/build/types/offline +1 -0
  14. package/build/types/polyfill +1 -0
  15. package/build/types/ui +2 -0
  16. package/demo/common/assets.js +18 -0
  17. package/demo/common/message_ids.js +13 -1
  18. package/demo/config.js +31 -1
  19. package/demo/index.html +1 -1
  20. package/demo/locales/en.json +12 -0
  21. package/demo/locales/source.json +48 -0
  22. package/dist/controls.css +26 -2
  23. package/dist/controls.css.map +1 -1
  24. package/dist/demo.compiled.debug.js +19 -16
  25. package/dist/demo.compiled.debug.map +3 -3
  26. package/dist/demo.compiled.js +19 -16
  27. package/dist/demo.compiled.map +3 -3
  28. package/dist/deps.js +21 -14
  29. package/dist/locales.js +31 -29
  30. package/dist/receiver.compiled.debug.js +11 -9
  31. package/dist/receiver.compiled.debug.map +3 -3
  32. package/dist/receiver.compiled.js +11 -9
  33. package/dist/receiver.compiled.map +3 -3
  34. package/dist/shaka-player.compiled.d.ts +232 -18
  35. package/dist/shaka-player.compiled.debug.d.ts +232 -18
  36. package/dist/shaka-player.compiled.debug.externs.js +293 -17
  37. package/dist/shaka-player.compiled.debug.js +481 -422
  38. package/dist/shaka-player.compiled.debug.map +4 -4
  39. package/dist/shaka-player.compiled.externs.js +293 -17
  40. package/dist/shaka-player.compiled.js +846 -817
  41. package/dist/shaka-player.compiled.map +4 -4
  42. package/dist/shaka-player.ui.d.ts +250 -30
  43. package/dist/shaka-player.ui.debug.d.ts +250 -30
  44. package/dist/shaka-player.ui.debug.externs.js +322 -28
  45. package/dist/shaka-player.ui.debug.js +630 -553
  46. package/dist/shaka-player.ui.debug.map +4 -4
  47. package/dist/shaka-player.ui.externs.js +322 -28
  48. package/dist/shaka-player.ui.js +1048 -1006
  49. package/dist/shaka-player.ui.map +4 -4
  50. package/docs/design/bg-fetch-after.gv +29 -0
  51. package/docs/design/bg-fetch-after.gv.png +0 -0
  52. package/docs/design/bg-fetch-before.gv +18 -0
  53. package/docs/design/bg-fetch-before.gv.png +0 -0
  54. package/docs/design/bg-fetch.md +134 -0
  55. package/docs/tutorials/blob-url.md +15 -0
  56. package/docs/tutorials/index.json +1 -0
  57. package/docs/tutorials/ui-customization.md +66 -0
  58. package/docs/tutorials/ui.md +5 -5
  59. package/externs/cmcd.js +186 -0
  60. package/externs/ima.js +3 -0
  61. package/externs/shaka/ads.js +5 -0
  62. package/externs/shaka/manifest.js +12 -1
  63. package/externs/shaka/manifest_parser.js +10 -1
  64. package/externs/shaka/net.js +20 -4
  65. package/externs/shaka/offline.js +31 -2
  66. package/externs/shaka/player.js +138 -5
  67. package/externs/shaka/text.js +24 -0
  68. package/externs/webcrypto.js +18 -0
  69. package/karma.conf.js +19 -15
  70. package/lib/abr/ewma.js +14 -0
  71. package/lib/abr/ewma_bandwidth_estimator.js +16 -2
  72. package/lib/abr/simple_abr_manager.js +6 -0
  73. package/lib/ads/ad_manager.js +1 -0
  74. package/lib/ads/client_side_ad.js +8 -0
  75. package/lib/ads/client_side_ad_manager.js +8 -4
  76. package/lib/ads/server_side_ad.js +7 -0
  77. package/lib/cast/cast_proxy.js +3 -0
  78. package/lib/cast/cast_receiver.js +3 -0
  79. package/lib/cast/cast_utils.js +1 -0
  80. package/lib/dash/dash_parser.js +79 -33
  81. package/lib/dash/segment_base.js +25 -1
  82. package/lib/dash/segment_list.js +18 -9
  83. package/lib/dash/segment_template.js +23 -10
  84. package/lib/hls/hls_parser.js +116 -23
  85. package/lib/hls/manifest_text_parser.js +1 -0
  86. package/lib/media/quality_observer.js +274 -0
  87. package/lib/media/region_observer.js +39 -33
  88. package/lib/media/region_timeline.js +17 -19
  89. package/lib/media/segment_index.js +8 -1
  90. package/lib/media/segment_reference.js +37 -4
  91. package/lib/media/streaming_engine.js +47 -6
  92. package/lib/net/http_fetch_plugin.js +31 -11
  93. package/lib/net/http_plugin_utils.js +1 -0
  94. package/lib/net/http_xhr_plugin.js +40 -14
  95. package/lib/net/networking_engine.js +85 -18
  96. package/lib/offline/download_info.js +68 -0
  97. package/lib/offline/download_manager.js +13 -5
  98. package/lib/offline/indexeddb/base_storage_cell.js +35 -0
  99. package/lib/offline/indexeddb/storage_mechanism.js +1 -1
  100. package/lib/offline/indexeddb/v5_storage_cell.js +5 -0
  101. package/lib/offline/storage.js +401 -293
  102. package/lib/offline/stored_content_utils.js +2 -0
  103. package/lib/player.js +254 -27
  104. package/lib/polyfill/media_capabilities.js +30 -15
  105. package/lib/polyfill/random_uuid.js +52 -0
  106. package/lib/text/cue.js +18 -0
  107. package/lib/text/ttml_text_parser.js +109 -60
  108. package/lib/text/ui_text_displayer.js +19 -13
  109. package/lib/util/cmcd_manager.js +672 -0
  110. package/lib/util/error.js +6 -0
  111. package/lib/util/fake_event_target.js +21 -1
  112. package/lib/util/language_utils.js +12 -0
  113. package/lib/util/mutex.js +52 -0
  114. package/lib/util/periods.js +98 -64
  115. package/lib/util/player_configuration.js +18 -0
  116. package/lib/util/stream_utils.js +86 -10
  117. package/lib/util/xml_utils.js +19 -0
  118. package/package.json +3 -6
  119. package/shaka-player.uncompiled.js +3 -0
  120. package/test/dash/dash_parser_content_protection_unit.js +2 -0
  121. package/test/dash/dash_parser_live_unit.js +144 -1
  122. package/test/dash/dash_parser_manifest_unit.js +37 -2
  123. package/test/dash/dash_parser_segment_base_unit.js +2 -0
  124. package/test/dash/dash_parser_segment_list_unit.js +2 -1
  125. package/test/dash/dash_parser_segment_template_unit.js +2 -1
  126. package/test/hls/hls_live_unit.js +2 -0
  127. package/test/hls/hls_parser_unit.js +76 -0
  128. package/test/media/drm_engine_unit.js +3 -3
  129. package/test/media/quality_observer_unit.js +142 -0
  130. package/test/media/region_observer_unit.js +40 -5
  131. package/test/media/region_timeline_unit.js +40 -22
  132. package/test/media/segment_reference_unit.js +16 -1
  133. package/test/media/streaming_engine_integration.js +4 -2
  134. package/test/media/streaming_engine_unit.js +147 -0
  135. package/test/net/http_plugin_unit.js +20 -15
  136. package/test/offline/storage_integration.js +108 -4
  137. package/test/player_integration.js +140 -8
  138. package/test/player_src_equals_integration.js +41 -8
  139. package/test/player_unit.js +19 -9
  140. package/test/test/assets/chapters.vtt +2 -2
  141. package/test/test/assets/chapters2.vtt +10 -0
  142. package/test/test/util/dash_parser_util.js +4 -0
  143. package/test/test/util/fake_ad.js +7 -0
  144. package/test/test/util/fake_drm_engine.js +9 -2
  145. package/test/test/util/manifest_generator.js +3 -2
  146. package/test/test/util/test_scheme.js +14 -1
  147. package/test/test/util/ttml_utils.js +81 -0
  148. package/test/test/util/util.js +10 -7
  149. package/test/text/mp4_ttml_parser_unit.js +11 -18
  150. package/test/text/ttml_text_parser_unit.js +544 -228
  151. package/test/ui/text_displayer_layout_unit.js +8 -7
  152. package/test/ui/ui_unit.js +250 -0
  153. package/test/util/cmcd_manager_unit.js +291 -0
  154. package/test/util/stream_utils_unit.js +36 -30
  155. package/third_party/closure-uri/uri.js +21 -0
  156. package/ui/airplay_button.js +1 -0
  157. package/ui/audio_language_selection.js +7 -0
  158. package/ui/cast_button.js +1 -0
  159. package/ui/context_menu.js +109 -0
  160. package/ui/controls.js +44 -7
  161. package/ui/controls.less +1 -0
  162. package/ui/enums.js +4 -0
  163. package/ui/externs/ui.js +28 -1
  164. package/ui/fast_forward_button.js +14 -5
  165. package/ui/fullscreen_button.js +1 -0
  166. package/ui/less/buttons.less +0 -4
  167. package/ui/less/containers.less +74 -0
  168. package/ui/less/overflow_menu.less +0 -10
  169. package/ui/less/tooltip.less +97 -0
  170. package/ui/locales/en.json +1 -0
  171. package/ui/locales/source.json +4 -0
  172. package/ui/localization.js +12 -36
  173. package/ui/loop_button.js +5 -0
  174. package/ui/mute_button.js +2 -1
  175. package/ui/overflow_menu.js +5 -25
  176. package/ui/pip_button.js +5 -0
  177. package/ui/play_button.js +2 -2
  178. package/ui/playback_rate_selection.js +8 -9
  179. package/ui/resolution_selection.js +7 -0
  180. package/ui/rewind_button.js +15 -6
  181. package/ui/seek_bar.js +4 -2
  182. package/ui/settings_menu.js +36 -4
  183. package/ui/small_play_button.js +1 -0
  184. package/ui/statistics_button.js +253 -0
  185. package/ui/text_selection.js +12 -4
  186. package/ui/ui.js +30 -0
  187. package/ui/volume_bar.js +1 -1
  188. package/externs/media_capabilities.js +0 -16
@@ -2,7 +2,7 @@
2
2
  name: Bug report
3
3
  about: Report a bug to help us improve
4
4
  title: ''
5
- labels: ''
5
+ labels: 'type: bug'
6
6
  assignees: ''
7
7
 
8
8
  ---
@@ -2,7 +2,7 @@
2
2
  name: Feature request
3
3
  about: Suggest an idea for this project
4
4
  title: ''
5
- labels: ''
5
+ labels: 'type: enhancement'
6
6
  assignees: ''
7
7
 
8
8
  ---
@@ -3,7 +3,7 @@ name: Question
3
3
  about: An open-ended question or discussion about Shaka Player, but not a bug report
4
4
  or feature request
5
5
  title: ''
6
- labels: question
6
+ labels: 'type: question'
7
7
  assignees: ''
8
8
 
9
9
  ---
@@ -0,0 +1,73 @@
1
+ name: Build and Test PR
2
+
3
+ on:
4
+ pull_request: # Trigger for pull requests.
5
+ types: [opened, synchronize, reopened, edited, ready_for_review]
6
+ branches:
7
+ - master
8
+ - v[0-9]*
9
+ workflow_dispatch: # Allows for manual triggering.
10
+ inputs:
11
+ ref:
12
+ description: "The ref to build and test."
13
+ required: False
14
+
15
+ jobs:
16
+ lint:
17
+ name: Lint
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v2
22
+ with:
23
+ ref: ${{ github.event.inputs.ref || github.ref }}
24
+
25
+ - name: Lint
26
+ run: python build/check.py
27
+
28
+ build_and_test:
29
+ # Don't waste time doing a full matrix of test runs when there was an
30
+ # obvious linter error.
31
+ needs: lint
32
+ strategy:
33
+ matrix:
34
+ os: ["ubuntu-latest", "macos-latest", "windows-latest"]
35
+ browser: ["Chrome", "Firefox", "Edge", "Safari"]
36
+ exclude:
37
+ - os: ubuntu-latest
38
+ browser: Edge
39
+ - os: windows-latest
40
+ browser: Safari
41
+ - os: ubuntu-latest
42
+ browser: Safari
43
+ include:
44
+ # Run Linux browsers with xvfb, so they're in a headless X session.
45
+ - os: ubuntu-latest
46
+ extra_flags: "--use-xvfb"
47
+ # Disable fail-fast so that one matrix-job failing doesn't make the other
48
+ # ones end early.
49
+ fail-fast: false
50
+
51
+ name: Build and test ${{ matrix.os }} ${{ matrix.browser }}
52
+ runs-on: ${{ matrix.os }}
53
+
54
+ steps:
55
+ # Firefox on Ubuntu appears to not have the right things installed in
56
+ # the environment used by GitHub actions, so make sure that ffmpeg is
57
+ # installed. Otherwise, the browser might not support some codecs that the
58
+ # tests assume will be supported.
59
+ - name: Install FFmpeg
60
+ if: matrix.os == 'ubuntu-latest' && matrix.browser == 'Firefox'
61
+ run: sudo apt -y update && sudo apt -y install ffmpeg
62
+
63
+ - name: Checkout code
64
+ uses: actions/checkout@v2
65
+ with:
66
+ ref: ${{ github.event.inputs.ref || github.ref }}
67
+
68
+ - name: Build Player
69
+ run: python build/all.py
70
+
71
+ - name: Test Player
72
+ run: |
73
+ python build/test.py --browsers ${{ matrix.browser }} --reporters spec --spec-hide-passed --drm ${{ matrix.extra_flags }}
@@ -0,0 +1,53 @@
1
+ on:
2
+ push:
3
+ branches:
4
+ - master
5
+ - v[0-9]*
6
+
7
+ name: Release
8
+
9
+ jobs:
10
+ release:
11
+ runs-on: ubuntu-latest
12
+ outputs:
13
+ release_created: ${{ steps.release.outputs.release_created }}
14
+ tag_name: ${{ steps.release.outputs.tag_name }}
15
+ steps:
16
+ # Create/update release PR
17
+ - uses: google-github-actions/release-please-action@v3
18
+ id: release
19
+ with:
20
+ # Required input to specify the release type (node package).
21
+ release-type: node
22
+ # Make sure the player version gets updated.
23
+ extra-files: lib/player.js
24
+ # Make sure we create the PR against the correct branch.
25
+ default-branch: ${{ github.ref_name }}
26
+
27
+ # The jobs below are all conditional on a release having been created by
28
+ # someone merging the release PR. They all run in parallel.
29
+
30
+ npm:
31
+ runs-on: ubuntu-latest
32
+ needs: release
33
+ if: ${{ needs.release.outputs.release_created }}
34
+ steps:
35
+ - uses: actions/checkout@v2
36
+ - uses: actions/setup-node@v1
37
+ with:
38
+ node-version: 12
39
+ registry-url: 'https://registry.npmjs.org'
40
+ - run: npm ci
41
+ - run: npm publish
42
+ env:
43
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
44
+ - run: npm pack
45
+ - uses: svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2
46
+ with:
47
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
48
+ tag: ${{ needs.release.outputs.tag_name }}
49
+ file: shaka-player-*.tgz
50
+ file_glob: true
51
+ overwrite: true
52
+
53
+ # TODO: Publish to appspot
package/AUTHORS CHANGED
@@ -13,8 +13,8 @@
13
13
  #
14
14
  # Please keep the list sorted.
15
15
 
16
- AdsWizz <*@adswizz.com>
17
16
  Adrián Gómez Llorente <adgllorente@gmail.com>
17
+ AdsWizz <*@adswizz.com>
18
18
  Alex Jones <alexedwardjones@gmail.com>
19
19
  Alugha GmbH <*@alugha.com>
20
20
  Alvaro Velad Galvan <alvaro.velad@mirada.tv>
@@ -23,18 +23,18 @@ Anthony Stansbridge <github@anthonystansbridge.co.uk>
23
23
  Benjamin Wallberg <me@bwallberg.com>
24
24
  Bonnier Broadcasting <*@bonnierbroadcasting.com>
25
25
  Bryan Huh <bhh1988@gmail.com>
26
- Code It <*@code-it.fr>
27
26
  Charter Communications Inc <*@charter.com>
27
+ Code It <*@code-it.fr>
28
28
  Damien Deis <developer.deis@gmail.com>
29
29
  Dany L'Hébreux <danylhebreux@gmail.com>
30
30
  Dl Dador <dldador@gmail.com>
31
+ Edgeware AB <*@edgeware.tv>
31
32
  Enson Choy <enson.choy@harmonicinc.com>
32
33
  Esteban Dosztal <edosztal@gmail.com>
33
34
  Fadomire <fadomire@gmail.com>
34
- Google Inc. <*@google.com>
35
- Edgeware AB <*@edgeware.tv>
36
35
  Gil Gonen <gil.gonen@gmail.com>
37
36
  Giuseppe Samela <giuseppe.samela@gmail.com>
37
+ Google Inc. <*@google.com>
38
38
  Itay Kinnrot <Itay.Kinnrot@Kaltura.com>
39
39
  Jason Palmer <jason@jason-palmer.com>
40
40
  Jesper Haug Karsrud <jesper.karsrud@gmail.com>
@@ -52,6 +52,7 @@ Oskar Arvidsson <oskar@irock.se>
52
52
  Patrick Cruikshank <patrick.cruikshank@gmail.com>
53
53
  Patrick Kunka <patrick@kunkalabs.com>
54
54
  Paul Jordaan <pdjordaan@gmail.com>
55
+ Pavel Zablockij <epavelas@gmail.com>
55
56
  Percy Tse <percy.tse@gmail.com>
56
57
  Peter Nycander <peter.nycander@gmail.com>
57
58
  Philo Inc. <*@philo.com>
@@ -72,6 +73,6 @@ Tomohiro Matsuzawa <thmatuza75@hotmail.com>
72
73
  Toshihiro Suzuki <t.suzuki326@gmail.com>
73
74
  uStudio Inc. <*@ustudio.com>
74
75
  Verizon Digital Media Services <*@verizondigitalmedia.com>
76
+ ViacomCBS <*@viacomcbs.com>
75
77
  Vincent Valot <valot.vince@gmail.com>
76
78
  Wayne Morgan <wayne.morgan.dev@gmail.com>
77
-
package/CHANGELOG.md CHANGED
@@ -1,3 +1,124 @@
1
+ # Changelog
2
+
3
+ ### [3.3.2](https://github.com/google/shaka-player/compare/v3.3.1...v3.3.2) (2022-02-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Add explicit release() for FakeEventTarget ([#3950](https://github.com/google/shaka-player/issues/3950)) ([1f9dd98](https://github.com/google/shaka-player/commit/1f9dd9856eb21079ca789b2c8f7e461438cb13de))
9
+ * Fix download of some HLS assets ([#3934](https://github.com/google/shaka-player/issues/3934)) ([449065c](https://github.com/google/shaka-player/commit/449065c84c5b6e4bbceba03c2345a3330ac2d1a7))
10
+ * Fix exception in StreamingEngine for EMSG with HLS ([#3887](https://github.com/google/shaka-player/issues/3887)) ([ca1ca33](https://github.com/google/shaka-player/commit/ca1ca33c3caf1787c52713ccb151ea59a9285649)), closes [#3886](https://github.com/google/shaka-player/issues/3886)
11
+ * Fix memory leak in DASH live streams with inband EventStream ([#3957](https://github.com/google/shaka-player/issues/3957)) ([6eb81da](https://github.com/google/shaka-player/commit/6eb81dae36a9cced95bd99f5356b69205c264ee0))
12
+ * **HLS:** skip whitespace in attributes ([#3884](https://github.com/google/shaka-player/issues/3884)) ([6305555](https://github.com/google/shaka-player/commit/6305555d40ca0e8be1604fc1f07dd34112b62530))
13
+
14
+ ## 3.3.1 (2022-01-28)
15
+
16
+ Bugfixes:
17
+ - Fix duplicate CMCD parameters in HLS live content
18
+ - https://github.com/google/shaka-player/issues/3862
19
+ - https://github.com/google/shaka-player/pull/3875
20
+ - Inherit alignment from regions
21
+ - Fix support for TTAF1 namespace (old version of TTML)
22
+ - https://github.com/google/shaka-player/issues/3009
23
+ - https://github.com/google/shaka-player/pull/3864
24
+ - https://github.com/google/shaka-player/pull/3906
25
+ - Fix misdetection of HEVC support on MS Edge
26
+ - https://github.com/google/shaka-player/pull/3897
27
+ - Fix caption overlap
28
+ - https://github.com/google/shaka-player/issues/3850
29
+ - https://github.com/google/shaka-player/issues/3741
30
+ - Fix missing throughput in CMCD for HLS live
31
+ - https://github.com/google/shaka-player/issues/3873
32
+ - https://github.com/google/shaka-player/pull/3874
33
+ - Support multiple chapter tracks with same language
34
+ - https://github.com/google/shaka-player/issues/3597
35
+ - https://github.com/google/shaka-player/pull/3868
36
+ - Fix text UI not updating when text is disabled
37
+ - https://github.com/google/shaka-player/issues/3728
38
+ - https://github.com/google/shaka-player/pull/3867
39
+ - Clear buffer on seek if mediaState is updating
40
+ - https://github.com/google/shaka-player/issues/3299
41
+ - https://github.com/google/shaka-player/pull/3795
42
+ - Fix thumbnails issues
43
+ - https://github.com/google/shaka-player/pull/3858
44
+ - Made nested cues inherit region
45
+ - https://github.com/google/shaka-player/issues/3743
46
+ - https://github.com/google/shaka-player/pull/3837
47
+ - Fix CMCD top bitrate reporting
48
+ - https://github.com/google/shaka-player/issues/3851
49
+ - https://github.com/google/shaka-player/pull/3852
50
+ - Fix MediaCapabilities polyfill on Safari
51
+ - https://github.com/google/shaka-player/issues/3696
52
+ - https://github.com/google/shaka-player/issues/3530
53
+ - Fix usage of Shaka without polyfills
54
+ - https://github.com/google/shaka-player/issues/3843
55
+ - Fix playback failure due to rounding errors
56
+ - https://github.com/google/shaka-player/issues/3717
57
+ - Fix HLS image track issues
58
+ - https://github.com/google/shaka-player/issues/3840
59
+ - Fix CMCD property mangling
60
+ - https://github.com/google/shaka-player/issues/3839
61
+ - https://github.com/google/shaka-player/pull/3842
62
+ - Remove caption wrapper bgColor
63
+ - https://github.com/google/shaka-player/issues/3745
64
+ - https://github.com/google/shaka-player/pull/3838
65
+ - Avoid WebCrypto randomUUID when CMCD disabled
66
+
67
+
68
+ ## 3.3.0 (2022-01-07)
69
+
70
+ New Features:
71
+ - Adds singleClickForPlayAndPause config
72
+ - https://github.com/google/shaka-player/issues/3821
73
+ - Add media quality change events
74
+ - https://github.com/google/shaka-player/pull/3700
75
+ - Add Common Media Client Data (CMCD) logging support
76
+ - https://github.com/google/shaka-player/issues/3619
77
+ - https://github.com/google/shaka-player/pull/3662
78
+ - Adds advanced ABR config options
79
+ - https://github.com/google/shaka-player/issues/3422
80
+ - https://github.com/google/shaka-player/pull/3706
81
+ - Integrate with non-linear IMA CS ads
82
+ - https://github.com/google/shaka-player/pull/3639
83
+ - Add a config to dispatch all emsg boxes
84
+ - https://github.com/google/shaka-player/issues/3348
85
+ - https://github.com/google/shaka-player/pull/3653
86
+ - Added Loop and PIP to context menu, and Statistics to overflow menu
87
+ - https://github.com/google/shaka-player/pull/3578
88
+ - Export LanguageUtils
89
+ - https://github.com/google/shaka-player/issues/3692
90
+ - Add randomUUID polyfill
91
+ - https://github.com/google/shaka-player/pull/3669
92
+ - Export individual polyfill install methods
93
+ - https://github.com/google/shaka-player/pull/3660
94
+ - Make default HLS audio/video codecs configurable
95
+ - https://github.com/google/shaka-player/pull/3651
96
+ - Add response HTTP status to Networking engine responses
97
+ - https://github.com/google/shaka-player/issues/3640
98
+ - https://github.com/google/shaka-player/pull/3641
99
+ - Create segment index only when used
100
+ - Partially support tts:textOutline
101
+ - https://github.com/google/shaka-player/issues/3612
102
+ - Add tooltips to control panel buttons
103
+ - https://github.com/google/shaka-player/pull/3572
104
+ - Add configurable rates
105
+ - https://github.com/google/shaka-player/pull/3579
106
+ - Add blob-url support
107
+ - https://github.com/google/shaka-player/issues/1481
108
+ - https://github.com/google/shaka-player/pull/3583
109
+ - Add updateStartTime method to play
110
+ - https://github.com/google/shaka-player/pull/3491
111
+ - Add right-click context menu, statistics button
112
+ - https://github.com/google/shaka-player/issues/2607
113
+ - https://github.com/google/shaka-player/pull/3548
114
+ - Added events for download lifecycle
115
+ - https://github.com/google/shaka-player/issues/3533
116
+ - Add Quality, Language, Playback, Captions buttons to control panel
117
+ - https://github.com/google/shaka-player/pull/3465
118
+ - Add goToLive method
119
+ - https://github.com/google/shaka-player/pull/3527
120
+
121
+
1
122
  ## 3.2.2 (2022-01-06)
2
123
 
3
124
  Bugfixes:
@@ -55,6 +176,101 @@ Docs:
55
176
  - https://github.com/google/shaka-player/pull/3714
56
177
 
57
178
 
179
+ ## 3.1.4 (2022-01-06)
180
+
181
+ Bugfixes:
182
+ - Allow comments in the TTML parser
183
+ - https://github.com/google/shaka-player/issues/3766
184
+ - https://github.com/google/shaka-player/pull/3827
185
+ - Fix HDR signalling via essential or supplemental property
186
+ - https://github.com/google/shaka-player/issues/3726
187
+ - https://github.com/google/shaka-player/pull/3727
188
+ - Fix MediaCapabilities polyfill on Playstation 5
189
+ - https://github.com/google/shaka-player/issues/3582
190
+ - https://github.com/google/shaka-player/pull/3808
191
+ - Add DASH MIME type mapping for src= playback
192
+ - https://github.com/google/shaka-player/pull/3805
193
+ - Fix captions not working after a period transition on live DASH streams
194
+ - https://github.com/google/shaka-player/issues/3783
195
+ - https://github.com/google/shaka-player/pull/3801
196
+ - Fix timestamp offset of CEA-608 cues
197
+ - https://github.com/google/shaka-player/issues/3782
198
+ - Force caption update when removing cues
199
+ - Fixes parsing of HLS 'DEFAULT' attribute
200
+ - https://github.com/google/shaka-player/issues/3769
201
+ - https://github.com/google/shaka-player/pull/3771
202
+ - support stpp.ttml codec in Mp4TtmlParser
203
+ - https://github.com/google/shaka-player/pull/3754
204
+ - Fix Russian translation
205
+ - https://github.com/google/shaka-player/pull/3751
206
+ - Fix HLS VOD duration
207
+ - https://github.com/google/shaka-player/issues/3733
208
+ - Query HDR transfer function
209
+ - https://github.com/google/shaka-player/issues/3729
210
+ - https://github.com/google/shaka-player/pull/3730
211
+ - Fix styling of UI text cues
212
+ - https://github.com/google/shaka-player/issues/3521
213
+ - https://github.com/google/shaka-player/issues/3600
214
+ - https://github.com/google/shaka-player/issues/3713
215
+ - Fix seek range issues on transition from live to VOD
216
+ - https://github.com/google/shaka-player/issues/3675
217
+ - Enforce string-format of event data keys.
218
+ - https://github.com/google/shaka-player/issues/3710
219
+ - Fix vp09 playback on webOS
220
+ - https://github.com/google/shaka-player/pull/3566
221
+ - Dedupe DRM init data
222
+ - https://github.com/google/shaka-player/pull/3695
223
+ - Failover in geo-redundant streams
224
+ - https://github.com/google/shaka-player/pull/3587
225
+
226
+ Demo App:
227
+ - Fix 'Tears of Steel (live, DASH, Server Side ads)'
228
+ - https://github.com/google/shaka-player/pull/3758
229
+
230
+ Docs:
231
+ - Fix typo in Fairplay tutorial
232
+ - https://github.com/google/shaka-player/pull/3714
233
+
234
+
235
+ ## 3.0.15 (2022-01-06)
236
+
237
+ Bugfixes:
238
+ - Allow comments in the TTML parser
239
+ - https://github.com/google/shaka-player/issues/3766
240
+ - https://github.com/google/shaka-player/pull/3827
241
+ - Add DASH MIME type mapping for src= playback
242
+ - https://github.com/google/shaka-player/pull/3805
243
+ - Fix captions not working after a period transition on live DASH streams
244
+ - https://github.com/google/shaka-player/issues/3783
245
+ - https://github.com/google/shaka-player/pull/3801
246
+ - Force caption update when removing cues
247
+ - Fixes parsing of HLS 'DEFAULT' attribute
248
+ - https://github.com/google/shaka-player/issues/3769
249
+ - https://github.com/google/shaka-player/pull/3771
250
+ - support stpp.ttml codec in Mp4TtmlParser
251
+ - https://github.com/google/shaka-player/pull/3754
252
+ - Fix Russian translation
253
+ - https://github.com/google/shaka-player/pull/3751
254
+ - Made HLS notify segments after fit
255
+ - https://github.com/google/shaka-player/issues/3733
256
+ - Fix seek range issues on transition from live to VOD
257
+ - https://github.com/google/shaka-player/issues/3675
258
+ - Enforce string-format of event data keys
259
+ - https://github.com/google/shaka-player/issues/3710
260
+ - Dedupe DRM init data
261
+ - https://github.com/google/shaka-player/pull/3695
262
+ - Failover in geo-redundant streams
263
+ - https://github.com/google/shaka-player/pull/3587
264
+
265
+ Demo App:
266
+ - Fix 'Tears of Steel (live, DASH, Server Side ads)'
267
+ - https://github.com/google/shaka-player/pull/3758
268
+
269
+ Docs:
270
+ - Fix typo in Fairplay tutorial
271
+ - https://github.com/google/shaka-player/pull/3714
272
+
273
+
58
274
  ## 3.2.1 (2021-10-13)
59
275
 
60
276
  Bugfixes:
@@ -121,6 +337,104 @@ Docs:
121
337
  - https://github.com/google/shaka-player/issues/3155
122
338
 
123
339
 
340
+ ## 3.1.3 (2021-10-13)
341
+
342
+ Bugfixes:
343
+ - Work around override of MediaCapabilities polyfill in Apple browsers
344
+ - https://github.com/google/shaka-player/issues/3530
345
+ - https://github.com/google/shaka-player/pull/3668
346
+ - Add support to file type in MediaCapabilities implementation
347
+ - https://github.com/google/shaka-player/pull/3570
348
+ - Fix video poster when autoplay is disabled
349
+ - https://github.com/google/shaka-player/pull/3645
350
+ - Fix tracking of active variant track in live streams
351
+ - Fixes updating of nested cues
352
+ - https://github.com/google/shaka-player/issues/3524
353
+ - https://github.com/google/shaka-player/issues/3643
354
+ - Fix ttml erroneously dismissing cues
355
+ - https://github.com/google/shaka-player/issues/3643
356
+ - Fix control panel alignment in UI
357
+ - https://github.com/google/shaka-player/pull/3650
358
+ - Export missing polyfill install methods
359
+ - https://github.com/google/shaka-player/pull/3660
360
+ - Dispose of ad manager on player detach
361
+ - https://github.com/google/shaka-player/pull/3665
362
+ - Add ResizeObserver to CS ad manager
363
+ - https://github.com/google/shaka-player/pull/3652
364
+ - Avoid seeking on src when start time is 0
365
+ - https://github.com/google/shaka-player/issues/3518
366
+ - https://github.com/google/shaka-player/pull/3644
367
+ - Tolerate misaligned TS files
368
+ - https://github.com/google/shaka-player/issues/3580
369
+ - Fix stopping of Server Side Ad manager
370
+ - https://github.com/google/shaka-player/pull/3611
371
+ - Fix DRM workaround for Tizen and Xbox with ac-3 boxes
372
+ - https://github.com/google/shaka-player/issues/3589
373
+ - https://github.com/google/shaka-player/pull/3631
374
+ - Fix DRM workaround for Tizen and Xbox with avc3 boxes
375
+ - https://github.com/google/shaka-player/pull/3625
376
+ - Fix `BUFFER_READ_OUT_OF_BOUNDS` error when CEA caption packets are empty
377
+ - https://github.com/google/shaka-player/issues/3608
378
+ - https://github.com/google/shaka-player/pull/3609
379
+ - Fix error when un-storing DRM asset
380
+ - https://github.com/google/shaka-player/issues/3534
381
+ - Fix CC parsing of EPB and v1 TKHD boxes
382
+ - https://github.com/google/shaka-player/issues/3502
383
+ - https://github.com/google/shaka-player/pull/3610
384
+ - Always polyfill MediaCapabilities for Apple browsers
385
+ - https://github.com/google/shaka-player/pull/3588
386
+ - Add Support to iOS 12 in MediaCapabilities polyfill
387
+ - https://github.com/google/shaka-player/pull/3573
388
+ - Display captions with forward slashes
389
+ - https://github.com/google/shaka-player/issues/3555
390
+ - https://github.com/google/shaka-player/pull/3556
391
+ - Add support to file type in MediaCapabilities polyfill
392
+ - https://github.com/google/shaka-player/pull/3569
393
+ - Use "undetermined" for missing CC language
394
+ - Exit PiP when destroying UI
395
+ - https://github.com/google/shaka-player/issues/3553
396
+
397
+ Docs:
398
+ - Add FAQ entry for common Vue problem
399
+ - https://github.com/google/shaka-player/issues/3155
400
+
401
+
402
+ ## 3.0.14 (2021-10-13)
403
+
404
+ Bugfixes:
405
+ - Fix video poster when autoplay is disabled
406
+ - https://github.com/google/shaka-player/pull/3645
407
+ - Fix tracking of active variant track in live streams
408
+ - Fix control panel alignment in UI
409
+ - https://github.com/google/shaka-player/pull/3650
410
+ - Export missing polyfill install methods
411
+ - https://github.com/google/shaka-player/pull/3660
412
+ - Dispose of ad manager on player detach
413
+ - https://github.com/google/shaka-player/pull/3665
414
+ - Add ResizeObserver to CS ad manager
415
+ - https://github.com/google/shaka-player/pull/3652
416
+ - Avoid seeking on src when start time is 0
417
+ - https://github.com/google/shaka-player/issues/3518
418
+ - https://github.com/google/shaka-player/pull/3644
419
+ - Tolerate misaligned TS files
420
+ - https://github.com/google/shaka-player/issues/3580
421
+ - Fix stopping of Server Side Ad manager
422
+ - https://github.com/google/shaka-player/pull/3611
423
+ - Fix DRM workaround for Tizen and Xbox with ac-3 boxes
424
+ - https://github.com/google/shaka-player/issues/3589
425
+ - https://github.com/google/shaka-player/pull/3631
426
+ - Fix DRM workaround for Tizen and Xbox with avc3 boxes
427
+ - https://github.com/google/shaka-player/pull/3625
428
+ - Fix error when un-storing DRM asset
429
+ - https://github.com/google/shaka-player/issues/3534
430
+ - Exit PiP when destroying UI
431
+ - https://github.com/google/shaka-player/issues/3553
432
+
433
+ Docs:
434
+ - Add FAQ entry for common Vue problem
435
+ - https://github.com/google/shaka-player/issues/3155
436
+
437
+
124
438
  ## 3.2.0 (2021-07-14)
125
439
 
126
440
  New Features:
@@ -4575,4 +4889,3 @@ Broken Compatibility:
4575
4889
  ## 0.1b (2014-11-21)
4576
4890
 
4577
4891
  Private beta release.
4578
-
package/CONTRIBUTORS CHANGED
@@ -31,11 +31,12 @@ Amila Sampath <lucksy@gmail.com>
31
31
  Andy Hochhaus <ahochhaus@samegoal.com>
32
32
  Anthony Stansbridge <github@anthonystansbridge.co.uk>
33
33
  Ashutosh Kumar Mukhiya <ashukm4@gmail.com>
34
- Benjamin Wallberg <me@bwallberg.com>
35
34
  Benjamin Wallberg <benjamin.wallberg@bonnierbroadcasting.com>
35
+ Benjamin Wallberg <me@bwallberg.com>
36
36
  Boris Cupac <borisrt2309@gmail.com>
37
37
  Brad Nadler <bnadler@swankmp.com>
38
38
  Bryan Huh <bhh1988@gmail.com>
39
+ Casey Occhialini <casey.occhialini@gmail.com>
39
40
  Chad Assareh <assareh@google.com>
40
41
  Chris Fillmore <fillmore.chris@gmail.com>
41
42
  Costel Madalin Grecu <madalin.grecu@adswizz.com>
@@ -80,6 +81,7 @@ Oskar Arvidsson <oskar@irock.se>
80
81
  Patrick Cruikshank <patrick.cruikshank@gmail.com>
81
82
  Patrick Kunka <patrick@kunkalabs.com>
82
83
  Paul Jordaan <pdjordaan@gmail.com>
84
+ Pavel Zablockij <epavelas@gmail.com>
83
85
  Percy Tse <percy.tse@gmail.com>
84
86
  Peter Nycander <peter.nycander@gmail.com>
85
87
  Prakash Duggaraju <duggaraju@gmail.com>
@@ -110,4 +112,4 @@ Vasanth Polipelli <vasanthap@google.com>
110
112
  Vignesh Venkatasubramanian <vigneshv@google.com>
111
113
  Vincent Valot <valot.vince@gmail.com>
112
114
  Wayne Morgan <wayne.morgan.dev@gmail.com>
113
- Yohann Connell <robinconnell@google.com>
115
+ Yohann Connell <robinconnell@google.com>
@@ -37,7 +37,7 @@ def changelog_version():
37
37
  """Gets the version of the library from the CHANGELOG."""
38
38
  path = os.path.join(shakaBuildHelpers.get_source_base(), 'CHANGELOG.md')
39
39
  with shakaBuildHelpers.open_file(path, 'r') as f:
40
- match = re.search(r'## (.*) \(', f.read())
40
+ match = re.search(r'### \[(.*?)\]\(', f.read())
41
41
  return match.group(1) if match else ''
42
42
 
43
43