shaka-player 4.3.15 → 4.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.
Files changed (60) hide show
  1. package/.github/workflows/appspot.yaml +4 -4
  2. package/.github/workflows/build-and-test.yaml +23 -10
  3. package/.github/workflows/custom-actions/set-commit-status/action.yaml +29 -7
  4. package/.github/workflows/demo-version-index.yaml +3 -3
  5. package/.github/workflows/nightly-demo.yaml +4 -4
  6. package/.github/workflows/release-please.yaml +25 -24
  7. package/.github/workflows/report-incremental-coverage.yaml +1 -1
  8. package/.github/workflows/selenium-lab-tests.yaml +30 -18
  9. package/.github/workflows/sync-labels.yaml +1 -1
  10. package/.github/workflows/talk-to-shaka-bot.yaml +1 -1
  11. package/.github/workflows/update-issues.yaml +1 -1
  12. package/.github/workflows/update-screenshots.yaml +25 -38
  13. package/CHANGELOG.md +28 -0
  14. package/demo/demo.less +1 -5
  15. package/dist/demo.css +1 -1
  16. package/dist/demo.css.map +1 -1
  17. package/dist/deps.js +0 -1
  18. package/dist/locales.js +31 -31
  19. package/dist/shaka-player.compiled.d.ts +6 -10
  20. package/dist/shaka-player.compiled.debug.d.ts +6 -10
  21. package/dist/shaka-player.compiled.debug.externs.js +13 -11
  22. package/dist/shaka-player.compiled.debug.js +209 -206
  23. package/dist/shaka-player.compiled.debug.map +4 -4
  24. package/dist/shaka-player.compiled.externs.js +13 -11
  25. package/dist/shaka-player.compiled.js +854 -852
  26. package/dist/shaka-player.compiled.map +4 -4
  27. package/dist/shaka-player.ui.d.ts +6 -10
  28. package/dist/shaka-player.ui.debug.d.ts +6 -10
  29. package/dist/shaka-player.ui.debug.externs.js +13 -11
  30. package/dist/shaka-player.ui.debug.js +158 -155
  31. package/dist/shaka-player.ui.debug.map +4 -4
  32. package/dist/shaka-player.ui.externs.js +13 -11
  33. package/dist/shaka-player.ui.js +949 -947
  34. package/dist/shaka-player.ui.map +4 -4
  35. package/docs/tutorials/faq.md +25 -0
  36. package/docs/tutorials/offline.md +3 -0
  37. package/docs/tutorials/ui.md +4 -4
  38. package/externs/shaka/player.js +32 -19
  39. package/lib/cast/cast_proxy.js +1 -3
  40. package/lib/cast/cast_sender.js +8 -11
  41. package/lib/cea/cea608_memory.js +1 -1
  42. package/lib/dash/dash_parser.js +3 -0
  43. package/lib/dash/segment_template.js +5 -0
  44. package/lib/hls/hls_parser.js +18 -16
  45. package/lib/media/drm_engine.js +17 -3
  46. package/lib/media/presentation_timeline.js +23 -0
  47. package/lib/media/segment_index.js +10 -0
  48. package/lib/media/streaming_engine.js +1 -13
  49. package/lib/player.js +18 -4
  50. package/lib/text/ui_text_displayer.js +10 -1
  51. package/lib/util/manifest_parser_utils.js +1 -0
  52. package/lib/util/stream_utils.js +8 -5
  53. package/package.json +1 -1
  54. package/test/cast/cast_proxy_unit.js +0 -46
  55. package/test/cast/cast_sender_unit.js +26 -26
  56. package/test/cea/cea608_memory_unit.js +3 -2
  57. package/test/hls/hls_live_unit.js +52 -0
  58. package/test/media/media_source_engine_integration.js +1 -1
  59. package/test/player_unit.js +13 -1
  60. package/lib/polyfill/storage_estimate.js +0 -57
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.16](https://github.com/shaka-project/shaka-player/compare/v4.3.15...v4.3.16) (2024-05-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * call to load in MediaElement using src= in HLS Safari ([#6478](https://github.com/shaka-project/shaka-player/issues/6478)) ([bf7ac86](https://github.com/shaka-project/shaka-player/commit/bf7ac86a883c6f31642ffca6785915e5868ce0d6))
9
+ * **Cast:** Don't pause local video until the cast connection is established ([#6359](https://github.com/shaka-project/shaka-player/issues/6359)) ([c81c853](https://github.com/shaka-project/shaka-player/commit/c81c853167696a5bad08550102489da615e3c7ba))
10
+ * **DASH:** Fix get partial current position for LL when using SegmentTemplate@duration ([#6516](https://github.com/shaka-project/shaka-player/issues/6516)) ([8d913a7](https://github.com/shaka-project/shaka-player/commit/8d913a7b24bfcae0818ade267270a3aef1c8bed9))
11
+ * **DASH:** Set delay to 0 for LL streams ([#6406](https://github.com/shaka-project/shaka-player/issues/6406)) ([9c49645](https://github.com/shaka-project/shaka-player/commit/9c496458d2c2bcd3ee2e3070cea7e267f17abbbc))
12
+ * **demo:** Remove max height of demo config tabs ([#6324](https://github.com/shaka-project/shaka-player/issues/6324)) ([6b5098b](https://github.com/shaka-project/shaka-player/commit/6b5098bd780a8337a130f3fc3501887cb0bf0756))
13
+ * Do not make LICENSE_REQUEST_FAILED fatal if other keys are successful ([#6457](https://github.com/shaka-project/shaka-player/issues/6457)) ([688cceb](https://github.com/shaka-project/shaka-player/commit/688cceb2d5a08faa30a93af7cb31834a8a84d879))
14
+ * Don't update captions when video is paused ([#6474](https://github.com/shaka-project/shaka-player/issues/6474)) ([2e62152](https://github.com/shaka-project/shaka-player/commit/2e621527a3b350182327b96ca0fab54bd183f056))
15
+ * Fix cea608 whitespace rendering ([#6329](https://github.com/shaka-project/shaka-player/issues/6329)) ([f7c978e](https://github.com/shaka-project/shaka-player/commit/f7c978e6584aa063910d7c34384b5a3f6431b5c8)), closes [#6328](https://github.com/shaka-project/shaka-player/issues/6328)
16
+ * Fix flac detection in Safari ([#6497](https://github.com/shaka-project/shaka-player/issues/6497)) ([5e68fba](https://github.com/shaka-project/shaka-player/commit/5e68fbacff5ae32faf15ee8089cb7e05256ccc33))
17
+ * Fix reusing region elements in UITextDisplayer ([#6476](https://github.com/shaka-project/shaka-player/issues/6476)) ([2c60a94](https://github.com/shaka-project/shaka-player/commit/2c60a94d2d2e8261ab49b37d985475488e2d11ed))
18
+ * Fix support of getAllThumbnails when using DASH multi-period ([#6464](https://github.com/shaka-project/shaka-player/issues/6464)) ([59e1f10](https://github.com/shaka-project/shaka-player/commit/59e1f10d8defe1ae426471604d09d407a95400a0))
19
+ * **HLS:** Fix IAMF codec selection in HLS ([#6389](https://github.com/shaka-project/shaka-player/issues/6389)) ([9b02fe3](https://github.com/shaka-project/shaka-player/commit/9b02fe31ca6ebb60564f8f25d46b8ab50a61ae23))
20
+ * **HLS:** Fix labelling of captions in Safari ([#6426](https://github.com/shaka-project/shaka-player/issues/6426)) ([9282a1b](https://github.com/shaka-project/shaka-player/commit/9282a1b8014d9ad3d174b90c6999edd4d7b57ca8))
21
+ * **HLS:** getPlayheadTimeAsDate() differs from X-EXT-PROGRAM-DATE-TIME ([#6371](https://github.com/shaka-project/shaka-player/issues/6371)) ([a8aaabb](https://github.com/shaka-project/shaka-player/commit/a8aaabb0780580ddf4cc7f0d749b51cb3b7c33c6))
22
+ * **HLS:** Only offset segment ref times when needed w/ EXT-X-MEDIA-SEQUENCE ([#6378](https://github.com/shaka-project/shaka-player/issues/6378)) ([543f081](https://github.com/shaka-project/shaka-player/commit/543f08173536c1f4fc53514c2ad5cc6dcbe35056))
23
+ * Looser tolerance for ending trick play at edge of seek range. ([#6422](https://github.com/shaka-project/shaka-player/issues/6422)) ([ce1a86e](https://github.com/shaka-project/shaka-player/commit/ce1a86e952033d829b0fb89894f6cdd2b618fc0f)), closes [#6421](https://github.com/shaka-project/shaka-player/issues/6421)
24
+
25
+
26
+ ### Reverts
27
+
28
+ * Fix potential AV sync issues after seek or adaptation ([#6435](https://github.com/shaka-project/shaka-player/issues/6435)) ([c3ce673](https://github.com/shaka-project/shaka-player/commit/c3ce6733c748dc9681950d5e14dfdd43b17cdd75)), closes [#5785](https://github.com/shaka-project/shaka-player/issues/5785) [#4589](https://github.com/shaka-project/shaka-player/issues/4589)
29
+ * getPlayheadTimeAsDate() differs from X-EXT-PROGRAM-DATE-TIME ([#6330](https://github.com/shaka-project/shaka-player/issues/6330)) ([4050614](https://github.com/shaka-project/shaka-player/commit/4050614513deb832883ef4a44f4014a9d83eab55))
30
+
3
31
  ## [4.3.15](https://github.com/shaka-project/shaka-player/compare/v4.3.14...v4.3.15) (2024-02-27)
4
32
 
5
33
 
package/demo/demo.less CHANGED
@@ -568,16 +568,12 @@ footer .mdl-mega-footer__link-list {
568
568
  text-align: left;
569
569
  opacity: 0;
570
570
  max-height: 0;
571
- transition: 0.3s ease-in-out;
572
571
  }
573
572
 
574
573
  .input-container-style-accordion.show {
575
574
  opacity: 1;
576
575
 
577
- /* If the max-height is too high (e.g. set to 100%), the "sliding out"
578
- * animation is too fast to make out with the eye.
579
- * So give it a fixed maximum instead. */
580
- max-height: 1000px;
576
+ max-height: fit-content;
581
577
  }
582
578
 
583
579
  .input-header {