shaka-player 4.3.13 → 4.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.
Files changed (137) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +1 -1
  2. package/.github/ISSUE_TEMPLATE/question.md +7 -0
  3. package/.github/workflows/release-please.yaml +2 -27
  4. package/.github/workflows/shaka-bot-commands/lib.sh +37 -12
  5. package/.github/workflows/shaka-bot-commands/main.sh +4 -2
  6. package/.github/workflows/talk-to-shaka-bot.yaml +1 -0
  7. package/AUTHORS +5 -0
  8. package/CHANGELOG.md +96 -0
  9. package/CODE_OF_CONDUCT.md +1 -1
  10. package/CONTRIBUTORS +6 -0
  11. package/README.md +2 -0
  12. package/demo/common/asset.js +0 -1
  13. package/demo/common/assets.js +0 -1
  14. package/demo/custom.js +2 -0
  15. package/dist/controls.css +1 -1
  16. package/dist/controls.css.map +1 -1
  17. package/dist/demo.compiled.debug.js +1 -1
  18. package/dist/demo.compiled.debug.map +1 -1
  19. package/dist/demo.compiled.js +1 -1
  20. package/dist/demo.compiled.map +1 -1
  21. package/dist/deps.js +6 -6
  22. package/dist/locales.js +30 -30
  23. package/dist/receiver.compiled.debug.map +1 -1
  24. package/dist/receiver.compiled.map +1 -1
  25. package/dist/shaka-player.compiled.d.ts +25 -5
  26. package/dist/shaka-player.compiled.debug.d.ts +25 -5
  27. package/dist/shaka-player.compiled.debug.externs.js +73 -45
  28. package/dist/shaka-player.compiled.debug.js +426 -406
  29. package/dist/shaka-player.compiled.debug.map +4 -4
  30. package/dist/shaka-player.compiled.externs.js +73 -45
  31. package/dist/shaka-player.compiled.js +912 -903
  32. package/dist/shaka-player.compiled.map +4 -4
  33. package/dist/shaka-player.ui.d.ts +37 -6
  34. package/dist/shaka-player.ui.debug.d.ts +37 -6
  35. package/dist/shaka-player.ui.debug.externs.js +74 -45
  36. package/dist/shaka-player.ui.debug.js +449 -428
  37. package/dist/shaka-player.ui.debug.map +4 -4
  38. package/dist/shaka-player.ui.externs.js +74 -45
  39. package/dist/shaka-player.ui.js +1060 -1051
  40. package/dist/shaka-player.ui.map +4 -4
  41. package/docs/tutorials/ad_monetization.md +54 -0
  42. package/docs/tutorials/fairplay.md +2 -2
  43. package/docs/tutorials/index.json +1 -0
  44. package/docs/tutorials/plugins.md +4 -0
  45. package/docs/tutorials/text-displayer.md +15 -0
  46. package/docs/tutorials/ui-customization.md +29 -0
  47. package/docs/tutorials/ui.md +4 -1
  48. package/externs/lcevc.js +6 -0
  49. package/externs/shaka/manifest_parser.js +8 -0
  50. package/externs/shaka/player.js +1 -1
  51. package/externs/shaka/text.js +3 -1
  52. package/lib/abr/simple_abr_manager.js +1 -1
  53. package/lib/ads/client_side_ad.js +9 -0
  54. package/lib/ads/client_side_ad_manager.js +7 -2
  55. package/lib/ads/server_side_ad_manager.js +4 -0
  56. package/lib/cast/cast_proxy.js +18 -0
  57. package/lib/cea/cea608_memory.js +1 -1
  58. package/lib/cea/cea_decoder.js +11 -1
  59. package/lib/dash/dash_parser.js +75 -41
  60. package/lib/dash/mpd_utils.js +39 -27
  61. package/lib/deprecate/deprecate.js +1 -1
  62. package/lib/hls/hls_parser.js +106 -28
  63. package/lib/hls/hls_utils.js +5 -5
  64. package/lib/media/content_workarounds.js +30 -0
  65. package/lib/media/drm_engine.js +16 -12
  66. package/lib/media/manifest_parser.js +2 -1
  67. package/lib/media/media_source_engine.js +4 -2
  68. package/lib/media/play_rate_controller.js +1 -0
  69. package/lib/media/presentation_timeline.js +11 -0
  70. package/lib/media/quality_observer.js +1 -1
  71. package/lib/media/segment_reference.js +5 -2
  72. package/lib/media/streaming_engine.js +50 -30
  73. package/lib/media/transmuxer.js +1 -1
  74. package/lib/media/video_wrapper.js +4 -3
  75. package/lib/offline/offline_manifest_parser.js +5 -0
  76. package/lib/offline/session_deleter.js +0 -8
  77. package/lib/offline/storage.js +4 -1
  78. package/lib/player.js +80 -19
  79. package/lib/polyfill/media_capabilities.js +23 -3
  80. package/lib/polyfill/mediasource.js +5 -36
  81. package/lib/text/mp4_ttml_parser.js +2 -2
  82. package/lib/text/simple_text_displayer.js +7 -6
  83. package/lib/text/srt_text_parser.js +2 -2
  84. package/lib/text/text_engine.js +3 -2
  85. package/lib/text/ttml_text_parser.js +33 -5
  86. package/lib/text/ui_text_displayer.js +81 -15
  87. package/lib/text/vtt_text_parser.js +17 -3
  88. package/lib/util/buffer_utils.js +26 -4
  89. package/lib/util/cmcd_manager.js +10 -0
  90. package/lib/util/error.js +1 -0
  91. package/lib/util/fairplay_utils.js +1 -1
  92. package/lib/util/manifest_parser_utils.js +14 -8
  93. package/lib/util/object_utils.js +1 -1
  94. package/lib/util/periods.js +91 -36
  95. package/lib/util/platform.js +39 -2
  96. package/lib/util/player_configuration.js +5 -3
  97. package/lib/util/stream_utils.js +36 -28
  98. package/lib/util/xml_utils.js +5 -0
  99. package/package.json +3 -3
  100. package/test/cea/cea_decoder_unit.js +40 -0
  101. package/test/dash/dash_parser_live_unit.js +5 -8
  102. package/test/hls/hls_parser_unit.js +78 -3
  103. package/test/media/buffering_observer_unit.js +13 -0
  104. package/test/media/content_workarounds_unit.js +1 -1
  105. package/test/media/drm_engine_unit.js +30 -3
  106. package/test/media/media_source_engine_unit.js +1 -1
  107. package/test/media/transmuxer_integration.js +2 -2
  108. package/test/offline/storage_integration.js +3 -0
  109. package/test/player_integration.js +49 -41
  110. package/test/player_load_graph_integration.js +13 -7
  111. package/test/player_src_equals_integration.js +2 -2
  112. package/test/player_unit.js +40 -3
  113. package/test/polyfill/media_capabilities_unit.js +12 -6
  114. package/test/test/util/fake_drm_engine.js +7 -0
  115. package/test/test/util/layout_tests.js +2 -1
  116. package/test/test/util/simple_fakes.js +2 -2
  117. package/test/test/util/test_scheme.js +3 -0
  118. package/test/test/util/waiter.js +5 -0
  119. package/test/text/mp4_ttml_parser_unit.js +4 -4
  120. package/test/text/simple_text_displayer_unit.js +1 -1
  121. package/test/text/srt_text_parser_unit.js +1 -1
  122. package/test/text/text_engine_unit.js +6 -0
  123. package/test/text/ttml_text_parser_unit.js +49 -18
  124. package/test/text/ui_text_displayer_unit.js +9 -0
  125. package/test/text/vtt_text_parser_unit.js +31 -0
  126. package/test/util/buffer_utils_unit.js +1 -1
  127. package/test/util/periods_unit.js +113 -0
  128. package/third_party/closure-uri/uri.js +1 -1
  129. package/ui/externs/ui.js +24 -0
  130. package/ui/language_utils.js +11 -5
  131. package/ui/less/containers.less +1 -0
  132. package/ui/play_button.js +20 -0
  133. package/ui/playback_rate_selection.js +4 -0
  134. package/ui/presentation_time.js +5 -5
  135. package/ui/small_play_button.js +2 -2
  136. package/ui/volume_bar.js +10 -6
  137. /package/.github/{config.yml → ISSUE_TEMPLATE/config.yml} +0 -0
@@ -44,7 +44,7 @@ assignees: ''
44
44
 
45
45
  **What are the manifest and license server URIs?**
46
46
  <!-- NOTE:
47
- You can send the URIs to <shaka-player-issues@google.com> instead,
47
+ You can send the URIs to <shaka-player-maintainers@googlegroups.com> instead,
48
48
  but please use GitHub and the template for the rest.
49
49
  A copy of the manifest text or an attached manifest will **not** be
50
50
  enough to reproduce your issue, and we **will** ask you to send a
@@ -20,7 +20,14 @@ assignees: ''
20
20
  **Have you read the [FAQ](https://bit.ly/ShakaFAQ) and checked for duplicate open issues?**
21
21
 
22
22
 
23
+ **If the question is related to FairPlay, have you read the tutorial?**
24
+ <!-- NOTE: https://shaka-player-demo.appspot.com/docs/api/tutorial-fairplay.html -->
25
+
26
+
23
27
  **What version of Shaka Player are you using?**
24
28
 
25
29
 
30
+ **What browser and OS are you using?**
31
+
32
+
26
33
  **Please ask your question**
@@ -23,33 +23,8 @@ jobs:
23
23
  default-branch: ${{ github.ref_name }}
24
24
  # Use a special shaka-bot access token for releases.
25
25
  token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
26
-
27
- # If we didn't create a release, we may have created or updated a PR.
28
- # Check out the code, then update the Player version in the PR.
29
- - uses: actions/checkout@v3
30
- if: steps.release.outputs.release_created == false
31
- with:
32
- # Use a special shaka-bot access token for releases.
33
- token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
34
- - name: Custom update Player version
35
- if: steps.release.outputs.release_created == false
36
- run: |
37
- # Check out the branch that release-please created.
38
- # If it does not exist, FAIL!
39
- git fetch
40
- git checkout release-please--branches--${{ github.ref_name }}--components--shaka-player || exit 1
41
- # If it does exist, update lib/player.js in the PR branch, so that the
42
- # -uncompiled tag remains in the player version in that context.
43
- VERSION="v$(jq -r .version package.json)-uncompiled"
44
- sed -e "s/^\\(shaka.Player.version =\\).*/\\1 '$VERSION';/" \
45
- -i lib/player.js
46
- git add lib/player.js
47
- # Set missing git config for the commit.
48
- git config user.name "shaka-bot"
49
- git config user.email "shaka-bot@users.noreply.github.com"
50
- # Update the PR.
51
- git commit --amend --no-edit
52
- git push -f
26
+ # Update these additional files containing version numbers.
27
+ extra-files: lib/player.js
53
28
 
54
29
  # The jobs below are all conditional on a release having been created by
55
30
  # someone merging the release PR. They all run in parallel.
@@ -64,20 +64,45 @@ function start_workflow() {
64
64
  gh workflow run "$WORKFLOW" -R "$THIS_REPO" "${GH_ARGS[@]}"
65
65
  }
66
66
 
67
+ # Simple alias for converting a stream of text to lowercase.
68
+ function tolower() {
69
+ tr '[:upper:]' '[:lower:]'
70
+ }
71
+
67
72
  # Outputs to global variables SHAKA_BOT_COMMAND and SHAKA_BOT_ARGUMENTS (array).
68
73
  function parse_command() {
69
- # Tokenize the comment by whitespace.
70
- local TOKENS=( $COMMENT_BODY )
71
-
72
- local INDEX
73
- for (( INDEX=0; INDEX < ${#TOKENS[@]}; INDEX++ )); do
74
- if [[ "${TOKENS[i]}" == "@shaka-bot" ]]; then
75
- SHAKA_BOT_COMMAND="${TOKENS[i+1]}"
76
- # A slice of all tokens starting with index i+2.
77
- SHAKA_BOT_ARGUMENTS=( "${TOKENS[@]:i+2}" )
78
- return 0
79
- fi
80
- done
74
+ echo "Parsing comment. Body: \"$COMMENT_BODY\""
75
+
76
+ # Read each line one at a time. Tokens from one line won't affect another.
77
+ local COMMENT_LINE
78
+ while read COMMENT_LINE; do
79
+ echo "Parsing comment. Line: \"$COMMENT_LINE\""
80
+
81
+ # Tokenize the line by whitespace.
82
+ local TOKENS=( $COMMENT_LINE )
83
+
84
+ local INDEX
85
+ for (( INDEX=0; INDEX < ${#TOKENS[@]}; INDEX++ )); do
86
+ if [[ "${TOKENS[INDEX]}" == "@shaka-bot" ]]; then
87
+ # The next word is the command.
88
+ SHAKA_BOT_COMMAND=$(echo "${TOKENS[INDEX+1]}" | tolower)
89
+
90
+ # Unless it's please, then it's the word after that.
91
+ if [[ "$SHAKA_BOT_COMMAND" == "please" ]]; then
92
+ INDEX=$((INDEX + 1))
93
+ SHAKA_BOT_COMMAND=$(echo "${TOKENS[INDEX+1]}" | tolower)
94
+ fi
95
+
96
+ # A slice of all tokens starting with index INDEX+2.
97
+ SHAKA_BOT_ARGUMENTS=( "${TOKENS[@]:INDEX+2}" )
98
+ return 0
99
+ fi
100
+ done
101
+ done < <(echo "$COMMENT_BODY" | tr -d '\r')
102
+ # The line above pipes COMMENT_BODY, without \r characters, into the loop.
103
+ # It is important to maintain the loop in the main shell, not a subshell, so
104
+ # that variables it writes to (SHAKA_BOT_COMMAND and SHAKA_BOT_ARGUMENTS)
105
+ # affect the caller.
81
106
 
82
107
  return 1
83
108
  }
@@ -42,10 +42,12 @@ if [[ "$SHAKA_BOT_COMMAND" == "" ]]; then
42
42
  exit 0
43
43
  fi
44
44
 
45
- echo "PR $PR_NUMBER, detected command $SHAKA_BOT_COMMAND"
45
+ echo "PR $PR_NUMBER"
46
+ echo "Detected command \"$SHAKA_BOT_COMMAND\""
47
+ echo "Detected arguments \"$SHAKA_BOT_ARGUMENTS\""
46
48
 
47
49
  case "$SHAKA_BOT_COMMAND" in
48
50
  help) . command-help.sh ;;
49
51
  test) . command-test.sh ;;
50
- *) echo "Unknown command!" ;;
52
+ *) echo "Unknown command" ;;
51
53
  esac
@@ -8,6 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  handle_command:
11
+ name: Handle Command
11
12
  # Only runs on PRs that contain '@shaka-bot' comments, but not comments
12
13
  # made by shaka-bot itself, who will sometimes use its own name.
13
14
  # Note that contains() is not case sensitive.
package/AUTHORS CHANGED
@@ -20,6 +20,7 @@ Alugha GmbH <*@alugha.com>
20
20
  Alvaro Velad Galvan <ladvan91@hotmail.com>
21
21
  Amila Sampath <lucksy@gmail.com>
22
22
  Anthony Stansbridge <github@anthonystansbridge.co.uk>
23
+ Antonio Diaz Correa <hello@antoniodiaz.me>
23
24
  Benjamin Wallberg <me@bwallberg.com>
24
25
  Bonnier Broadcasting <*@bonnierbroadcasting.com>
25
26
  Bryan Huh <bhh1988@gmail.com>
@@ -37,6 +38,7 @@ Gil Gonen <gil.gonen@gmail.com>
37
38
  Giorgio Gamberoni <giorgio.gamberoni@gmail.com>
38
39
  Giuseppe Samela <giuseppe.samela@gmail.com>
39
40
  Google Inc. <*@google.com>
41
+ Ivan Kohut <i.kohut@yahoo.com>
40
42
  Itay Kinnrot <Itay.Kinnrot@Kaltura.com>
41
43
  Jaeseok Lee <devsunb@gmail.com>
42
44
  Jason Palmer <jason@jason-palmer.com>
@@ -46,11 +48,13 @@ Jonas Birmé <jonas.birme@eyevinn.se>
46
48
  Jozef Chúťka <jozefchutka@gmail.com>
47
49
  Jun Hong Chong <chongjunhong@gmail.com>
48
50
  Jürgen Kartnaller <kartnaller@lovelysystems.com>
51
+ Justin Swaney <justin.mark.swaney@gmail.com>
49
52
  JW Player <*@jwplayer.com>
50
53
  Lucas Gabriel Sánchez <unkiwii@gmail.com>
51
54
  Martin Stark <martin.stark@eyevinn.se>
52
55
  Matthias Van Parijs <matvp91@gmail.com>
53
56
  Mattias Wadman <mattias.wadman@gmail.com>
57
+ Mirego <*@mirego.com>
54
58
  Mohamed Rashid <ge_rashid@hotmail.co.uk>
55
59
  Morten Hansen <mimo@mimo-design.com>
56
60
  Nick Desaulniers <nick@mozilla.com>
@@ -78,6 +82,7 @@ Seongryun Jo <ocipap0531@gmail.com>
78
82
  Swank Motion Pictures Inc. <*@swankmp.com>
79
83
  TalkTalk Plc <*@talktalkplc.com>
80
84
  Tatsiana Gelahova <tatsiana.gelahova@gmail.com>
85
+ Thomas Champion <thchampi@gmail.com>
81
86
  Tomas Tichy <mr.tichyt@gmail.com>
82
87
  Tomohiro Matsuzawa <thmatuza75@hotmail.com>
83
88
  Toshihiro Suzuki <t.suzuki326@gmail.com>
package/CHANGELOG.md CHANGED
@@ -1,5 +1,101 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.15](https://github.com/shaka-project/shaka-player/compare/v4.3.14...v4.3.15) (2024-02-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **Cast:** Force TS content to be transmuxed on Chromecast ([#6262](https://github.com/shaka-project/shaka-player/issues/6262)) ([d007f6f](https://github.com/shaka-project/shaka-player/commit/d007f6fe76fc8fcf04745d848f4d4b9a72ccf59b)), closes [#5278](https://github.com/shaka-project/shaka-player/issues/5278)
9
+ * **HLS:** Ban unsupported combinations of SAMPLE-AES encryption ([#6295](https://github.com/shaka-project/shaka-player/issues/6295)) ([3b60303](https://github.com/shaka-project/shaka-player/commit/3b60303449956f775696ca1e9096c9adb9af4a17))
10
+ * **VTT:** fix setting textShadow when multiple CSS classes provided ([#6287](https://github.com/shaka-project/shaka-player/issues/6287)) ([f96895b](https://github.com/shaka-project/shaka-player/commit/f96895b123b5aa6fcd2e7d43974609b65cce04e0))
11
+
12
+ ## [4.3.14](https://github.com/shaka-project/shaka-player/compare/v4.3.13...v4.3.14) (2024-02-20)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **ABR:** Fix HLS playback after internet connection is restored ([#5879](https://github.com/shaka-project/shaka-player/issues/5879)) ([65d1157](https://github.com/shaka-project/shaka-player/commit/65d115768f36b4cbfc6c9851518f33ea25d66008))
18
+ * AC-3 audio codec support on Tizen ([#6166](https://github.com/shaka-project/shaka-player/issues/6166)) ([83c57ee](https://github.com/shaka-project/shaka-player/commit/83c57ee4505fd1dc2f2ee9e70acee5f8522a0006))
19
+ * add missing properties to PlayButton type ([#6130](https://github.com/shaka-project/shaka-player/issues/6130)) ([b3ef659](https://github.com/shaka-project/shaka-player/commit/b3ef659d7acf3ac864a3d2ab2258a8f8aa679393))
20
+ * Add Orange platform to requiresEncryptionInfoInAllInitSegments ([#5895](https://github.com/shaka-project/shaka-player/issues/5895)) ([013c54b](https://github.com/shaka-project/shaka-player/commit/013c54b01cf1576ec0dcd38221efb7845ba62e39))
21
+ * **Ads:** Fix VMAP won't play in muted autoplay ([#6046](https://github.com/shaka-project/shaka-player/issues/6046)) ([5201950](https://github.com/shaka-project/shaka-player/commit/520195042860f43e2c2cfc2e4456b41d990c9ba0))
22
+ * Allow by default variants without pssh in the manifest ([#6144](https://github.com/shaka-project/shaka-player/issues/6144)) ([db788a0](https://github.com/shaka-project/shaka-player/commit/db788a0dc14a22cb50d525f3b195f65e0f74d177))
23
+ * Allow parseXmlString when createNodeIterator is not available ([#5805](https://github.com/shaka-project/shaka-player/issues/5805)) ([dd4b36f](https://github.com/shaka-project/shaka-player/commit/dd4b36fa1fc6557a8a2da3437f80ab72172caf7c))
24
+ * APL set-top box wrongly identifies as an Apple device. ([#6026](https://github.com/shaka-project/shaka-player/issues/6026)) ([2e8e2a4](https://github.com/shaka-project/shaka-player/commit/2e8e2a47c537c0e498f959fd56d0ebf4f2878e48))
25
+ * auto cancel trickPlay on live as specified ([#6100](https://github.com/shaka-project/shaka-player/issues/6100)) ([1b08e12](https://github.com/shaka-project/shaka-player/commit/1b08e129b0cfd94add274f287bd0e47709fc175c))
26
+ * avoid uiTextDisplayer.destroy crashing if called more than once ([#6022](https://github.com/shaka-project/shaka-player/issues/6022)) ([8f9fbb2](https://github.com/shaka-project/shaka-player/commit/8f9fbb2aede48b5c6a7243eee1c5c9f6b192a0a2))
27
+ * ban new Uint16Array(buffer) ([#5838](https://github.com/shaka-project/shaka-player/issues/5838)) ([4e314db](https://github.com/shaka-project/shaka-player/commit/4e314db29dd91f05a4536d0e289ca73cf3238d04))
28
+ * CEA decoder should return early if packet is not large enough ([#5893](https://github.com/shaka-project/shaka-player/issues/5893)) ([b866b3c](https://github.com/shaka-project/shaka-player/commit/b866b3ce69e8b2c323b3f45ebea4e3b16a345e98))
29
+ * **CMCD:** Fix CMCD for some mimetypes in src= ([#6178](https://github.com/shaka-project/shaka-player/issues/6178)) ([b6adc09](https://github.com/shaka-project/shaka-player/commit/b6adc0903367ff5c1074d51e3d1f5f868213f42c))
30
+ * **DASH:** Fix false redirect detection ([#5910](https://github.com/shaka-project/shaka-player/issues/5910)) ([92d41dd](https://github.com/shaka-project/shaka-player/commit/92d41dd0feb2a4d80a57460f80461d0c4a8baa40))
31
+ * **DASH:** Fix manifest update time for Live manifests ([#5763](https://github.com/shaka-project/shaka-player/issues/5763)) ([da38819](https://github.com/shaka-project/shaka-player/commit/da38819f422f6d72141e5a2b2599d43e2d5cda3d))
32
+ * **DASH:** Fix manifest update time for LL-DASH ([#5736](https://github.com/shaka-project/shaka-player/issues/5736)) ([ff6a72d](https://github.com/shaka-project/shaka-player/commit/ff6a72d07a48dd08412c70dfe7dd4d498174c3a7))
33
+ * **DASH:** Handle minimumUpdatePeriod=0 with urn:mpeg:dash:event:2012 (EMSG) ([#5823](https://github.com/shaka-project/shaka-player/issues/5823)) ([ad78d09](https://github.com/shaka-project/shaka-player/commit/ad78d09038d2eee3a933e02e189126e25f6f3a75))
34
+ * **DASH:** Update dash manifest when minimumUpdatePeriod = 0 ([#6187](https://github.com/shaka-project/shaka-player/issues/6187)) ([2e2767e](https://github.com/shaka-project/shaka-player/commit/2e2767e6637cb884ef5b01c90182ecaeb50df95b))
35
+ * **DASH:** Use labels to stitch streams across periods ([#6121](https://github.com/shaka-project/shaka-player/issues/6121)) ([76bf5e7](https://github.com/shaka-project/shaka-player/commit/76bf5e707d5f64b4dc7d1d54f80bc6582e89c8bc))
36
+ * **Demo:** Pressing "Edit" button unstores custom asset, but does not update "stored" button ([#5936](https://github.com/shaka-project/shaka-player/issues/5936)) ([30a71f2](https://github.com/shaka-project/shaka-player/commit/30a71f2b0057759effa89cf998adb2af3ed6ad89))
37
+ * do not remove sub-second amounts from source buffer ([267169c](https://github.com/shaka-project/shaka-player/commit/267169c5bcc2bcab7dff54f2a9528ae5f0d6ab2a)), closes [#6240](https://github.com/shaka-project/shaka-player/issues/6240)
38
+ * ENCRYPTED CONTENT WITHOUT DRM INFO on comcast X1 due to safari blocklist ([#6034](https://github.com/shaka-project/shaka-player/issues/6034)) ([daa224d](https://github.com/shaka-project/shaka-player/commit/daa224dd8530b7582d86af2e8b0a0cd2ed2b9797))
39
+ * Fix crash while playing HLS AES 128 streams ([#5830](https://github.com/shaka-project/shaka-player/issues/5830)) ([43b6d48](https://github.com/shaka-project/shaka-player/commit/43b6d48606e713e808d94325d934956864745287))
40
+ * Fix detection of flac support on Safari ([#6250](https://github.com/shaka-project/shaka-player/issues/6250)) ([74fcf51](https://github.com/shaka-project/shaka-player/commit/74fcf516139f52b5e2bf398ba8905dc2ab1bef99))
41
+ * Fix detection of spatial rendering support in Cast ([#6138](https://github.com/shaka-project/shaka-player/issues/6138)) ([579fb9a](https://github.com/shaka-project/shaka-player/commit/579fb9a582d2f53da57afa57965a7eaeb1852390))
42
+ * Fix DRM workaround for Tizen and Xbox with ac-4 boxes ([#5812](https://github.com/shaka-project/shaka-player/issues/5812)) ([4c3c3e2](https://github.com/shaka-project/shaka-player/commit/4c3c3e2a37fff296966a8bc2bd738d026db9a42c))
43
+ * Fix DRM workaround for Xbox with Dolby Vision boxes ([#6201](https://github.com/shaka-project/shaka-player/issues/6201)) ([c068a50](https://github.com/shaka-project/shaka-player/commit/c068a501e61f34b521065adf216faba959efe984))
44
+ * Fix gitpkg.now.sh dependencies ([#6211](https://github.com/shaka-project/shaka-player/issues/6211)) ([d749614](https://github.com/shaka-project/shaka-player/commit/d749614425f3fe29dda0d1ebbe28b0977d866463))
45
+ * fix handling of multiple CC tracks ([#6076](https://github.com/shaka-project/shaka-player/issues/6076)) ([081362d](https://github.com/shaka-project/shaka-player/commit/081362dfddc1ab7dbad96f698e4a3d5cd15f0c39))
46
+ * Fix init segment comparison ([#5920](https://github.com/shaka-project/shaka-player/issues/5920)) ([42d38d5](https://github.com/shaka-project/shaka-player/commit/42d38d5d7792f3e7e1e81d2dbe7a5c5106dfc5cb))
47
+ * Fix language comparison in addTextTrackAsync ([#5904](https://github.com/shaka-project/shaka-player/issues/5904)) ([4438ca1](https://github.com/shaka-project/shaka-player/commit/4438ca122a0e5a78a659a2378672e8bf93f3336f))
48
+ * Fix liveLatency in stats ([#5982](https://github.com/shaka-project/shaka-player/issues/5982)) ([ba45266](https://github.com/shaka-project/shaka-player/commit/ba4526685f346e18c90cebff8561357f01b0dbc8))
49
+ * Fix trackschanged event not fired after a license request is denied for some tracks ([#5962](https://github.com/shaka-project/shaka-player/issues/5962)) ([554f9ed](https://github.com/shaka-project/shaka-player/commit/554f9edf115dcb7be552b4a94027484cd28d2916))
50
+ * **hisense:** set stallSkip to 0 for HiSense devices ([#5833](https://github.com/shaka-project/shaka-player/issues/5833)) ([f78cab4](https://github.com/shaka-project/shaka-player/commit/f78cab4a2ce74bbd1a7571f37087922e9d41d564))
51
+ * **HLS:** Avoid duplicate AES request when using the same info ([#6118](https://github.com/shaka-project/shaka-player/issues/6118)) ([a1084f5](https://github.com/shaka-project/shaka-player/commit/a1084f578268da59a006df2b6021e561d6a16ac3))
52
+ * **HLS:** Fix init segment when EXT-X-MAP is preceded by EXT-X-BYTERANGE ([#5732](https://github.com/shaka-project/shaka-player/issues/5732)) ([931b2f8](https://github.com/shaka-project/shaka-player/commit/931b2f80c4578ea8d2bd32232d8c602f800e81ea))
53
+ * **HLS:** Fix kind detection for 'captions' text tracks ([#5819](https://github.com/shaka-project/shaka-player/issues/5819)) ([a4fa63b](https://github.com/shaka-project/shaka-player/commit/a4fa63b9043e37b77e66fe5ce69b0c707b5b18bb))
54
+ * **HLS:** Fix VVC codec selection in HLS ([#6156](https://github.com/shaka-project/shaka-player/issues/6156)) ([1e73bb2](https://github.com/shaka-project/shaka-player/commit/1e73bb205b5c10851024e9719efaa56fcaad4dd4))
55
+ * **HLS:** getPlayheadTimeAsDate() differs from X-EXT-PROGRAM-DATE-TIME ([#6059](https://github.com/shaka-project/shaka-player/issues/6059)) ([cb17e24](https://github.com/shaka-project/shaka-player/commit/cb17e2478767aa4e5ea55ab675519c399db19e50))
56
+ * **HLS:** Live recovery after disconnects ([#6048](https://github.com/shaka-project/shaka-player/issues/6048)) ([468425a](https://github.com/shaka-project/shaka-player/commit/468425a65122475d3d8048800d042db8c72762c1))
57
+ * **HLS:** Recognize CEA subtitles when CLOSED-CAPTIONS attribute is missing ([#5916](https://github.com/shaka-project/shaka-player/issues/5916)) ([440d4ab](https://github.com/shaka-project/shaka-player/commit/440d4ab1d87644d0e89b0b7718e627c7ed6c55dc))
58
+ * Install by default shaka.polyfill.PatchedMediaKeysApple when there is no unprefixed EME support ([#6053](https://github.com/shaka-project/shaka-player/issues/6053)) ([caf7a7c](https://github.com/shaka-project/shaka-player/commit/caf7a7c118bc06a1b86d174be4f647c164c1f905))
59
+ * **offline:** Fix server certificate error when trying to delete stored content ([#6080](https://github.com/shaka-project/shaka-player/issues/6080)) ([2bc0c25](https://github.com/shaka-project/shaka-player/commit/2bc0c259e88fc440b30fb8d33870e9e42f3c3e25))
60
+ * **offline:** Fix server certificate error when trying to store content ([#5848](https://github.com/shaka-project/shaka-player/issues/5848)) ([1e907db](https://github.com/shaka-project/shaka-player/commit/1e907db9f959095105ca63891984ee3c4a22e3b9))
61
+ * **offline:** Fix store persistent licenses with drm info in the pssh ([#6143](https://github.com/shaka-project/shaka-player/issues/6143)) ([438e098](https://github.com/shaka-project/shaka-player/commit/438e0980fea4afb1e55e4aeba3d3eb78a3e572b8))
62
+ * Prevent license requests for unplayable variants ([#6204](https://github.com/shaka-project/shaka-player/issues/6204)) ([725391a](https://github.com/shaka-project/shaka-player/commit/725391a1a40d9ee0fdf36671bcd63314ffeac68e))
63
+ * Properly size region anchor from LINE units ([#5941](https://github.com/shaka-project/shaka-player/issues/5941)) ([f0a07bc](https://github.com/shaka-project/shaka-player/commit/f0a07bc3c00a8c446ac1f331dc9efbd34aa54885))
64
+ * Reject Opus encrypted on Firefox Android ([#6115](https://github.com/shaka-project/shaka-player/issues/6115)) ([95cba57](https://github.com/shaka-project/shaka-player/commit/95cba570340159e26d303c8ae983834aa7134899))
65
+ * Reset to default playback rate on release playback rate controller ([#6089](https://github.com/shaka-project/shaka-player/issues/6089)) ([2e390ed](https://github.com/shaka-project/shaka-player/commit/2e390ed674b2095fa250bfec5fce4355dfca9ef7))
66
+ * text roles being combined incorrectly in some multiperiod cases ([#6055](https://github.com/shaka-project/shaka-player/issues/6055)) ([f6fea75](https://github.com/shaka-project/shaka-player/commit/f6fea75827aca70f439f67dc0fa9079c34faea6e))
67
+ * **TTML:** Clip to video when extent is not present ([#6086](https://github.com/shaka-project/shaka-player/issues/6086)) ([44cac01](https://github.com/shaka-project/shaka-player/commit/44cac017708b770570e565898e29dda2f543e72b))
68
+ * **TTML:** Fix support of urls in smpte:backgroundImage ([#5851](https://github.com/shaka-project/shaka-player/issues/5851)) ([b1510ca](https://github.com/shaka-project/shaka-player/commit/b1510caba1c428508198bf8e08cb3ed59ce71c43))
69
+ * **UI:** Correctly display video time and duration for VOD ([#5929](https://github.com/shaka-project/shaka-player/issues/5929)) ([3775daa](https://github.com/shaka-project/shaka-player/commit/3775daaa5e5b49664425b556c19a9b9b5d65a43f))
70
+ * **UI:** Fix keyboard navigation of volume bar on Firefox ([#5981](https://github.com/shaka-project/shaka-player/issues/5981)) ([6ea473f](https://github.com/shaka-project/shaka-player/commit/6ea473fdaee87d3731a27502141a48c4161123ff))
71
+ * **UI:** Fix replay button when the post-roll is running using CS ([#6072](https://github.com/shaka-project/shaka-player/issues/6072)) ([1282575](https://github.com/shaka-project/shaka-player/commit/1282575bb603765de8fd271854e31e9a6d76db90))
72
+ * **UI:** Fix text selector when the trackLabelFormat is set to LABEL ([#5751](https://github.com/shaka-project/shaka-player/issues/5751)) ([da2033e](https://github.com/shaka-project/shaka-player/commit/da2033edff908c687536b4d723bf8e359944034f))
73
+ * UITextDisplayer font-family is overridden by UI's Roboto font ([#5829](https://github.com/shaka-project/shaka-player/issues/5829)) ([d55137b](https://github.com/shaka-project/shaka-player/commit/d55137b2bfe4d42794ebfc651b1544ef9a03d729))
74
+ * **UI:** Update the playbackrate on loaded event ([#6090](https://github.com/shaka-project/shaka-player/issues/6090)) ([2bac3b9](https://github.com/shaka-project/shaka-player/commit/2bac3b9215135b8fd52f53d035a3360a9c1ae673))
75
+ * Unmask errors on LL ([#5908](https://github.com/shaka-project/shaka-player/issues/5908)) ([78564b9](https://github.com/shaka-project/shaka-player/commit/78564b999385b17c9351aa43a59358af39d01f9b))
76
+ * **WebVTT:** Fix support for line vertical alignment ([#5945](https://github.com/shaka-project/shaka-player/issues/5945)) ([1a7d4da](https://github.com/shaka-project/shaka-player/commit/1a7d4da38370684242d7dfa7033a85097d6fb665))
77
+ * **WebVTT:** Fix wrong writing-mode in nested cues ([#5807](https://github.com/shaka-project/shaka-player/issues/5807)) ([f0c2c2d](https://github.com/shaka-project/shaka-player/commit/f0c2c2d5727495f55687d956978ffa16ec3c254c))
78
+ * When disconnecting from chromecast, subtitles are turned off ([#6103](https://github.com/shaka-project/shaka-player/issues/6103)) ([5550836](https://github.com/shaka-project/shaka-player/commit/5550836230d02d9d90f980839b01fff69797bf5b))
79
+
80
+
81
+ ### Performance Improvements
82
+
83
+ * **dash:** improve readability and reduce number of loops in dash parser ([#5768](https://github.com/shaka-project/shaka-player/issues/5768)) ([2767bc9](https://github.com/shaka-project/shaka-player/commit/2767bc9722f98cc323ee0a03c6c869f35e79afb9))
84
+ * **DASH:** reduce looping and remove chaining awaits in period ([#5774](https://github.com/shaka-project/shaka-player/issues/5774)) ([af79ca4](https://github.com/shaka-project/shaka-player/commit/af79ca4531eb6e54ee12323877cc248db9c9dcc3))
85
+ * **HLS:** do not filter all tags to get the first tag ([#6088](https://github.com/shaka-project/shaka-player/issues/6088)) ([c6794d6](https://github.com/shaka-project/shaka-player/commit/c6794d635e0591b48b1dcead21cd723ea6b2703f))
86
+ * Improve performance of addThumbnailsTrack ([#6067](https://github.com/shaka-project/shaka-player/issues/6067)) ([d8e46ba](https://github.com/shaka-project/shaka-player/commit/d8e46baebed416870be8fded3a49470e4a21ae9d))
87
+ * **manifest:** avoid unnecessary looping in uri resolver ([#5773](https://github.com/shaka-project/shaka-player/issues/5773)) ([b887978](https://github.com/shaka-project/shaka-player/commit/b887978457f82e2b9cf39475a0ba1929a2a2c28d))
88
+ * Optimize init segment reference comparison for common case ([#6014](https://github.com/shaka-project/shaka-player/issues/6014)) ([fb1d167](https://github.com/shaka-project/shaka-player/commit/fb1d167053f87fb1be742a0310ef9db4893ceafb))
89
+ * simplify and improve performance of parsing initData when deduping ([#5775](https://github.com/shaka-project/shaka-player/issues/5775)) ([0350f9d](https://github.com/shaka-project/shaka-player/commit/0350f9da76f12a2cfe4b66ef1a1ca0d9147f23e5))
90
+ * **utils:** use WeakSet to track object references ([#5791](https://github.com/shaka-project/shaka-player/issues/5791)) ([2cab9a2](https://github.com/shaka-project/shaka-player/commit/2cab9a2f518717422402b6de5cf4069a83cbbb58))
91
+ * **WebVTT:** Improve parsing time for unstyled payloads ([#6066](https://github.com/shaka-project/shaka-player/issues/6066)) ([80b66bd](https://github.com/shaka-project/shaka-player/commit/80b66bd2a43c0e034f6055e3e50560c0ea9d9f3a))
92
+ * **Xbox:** drop incompatible variants for XBOX early ([#5777](https://github.com/shaka-project/shaka-player/issues/5777)) ([e471bfc](https://github.com/shaka-project/shaka-player/commit/e471bfc699dc8b9a83cd1037ea7ce9eeac1c9d32))
93
+
94
+
95
+ ### Reverts
96
+
97
+ * Install by default shaka.polyfill.PatchedMediaKeysApple when there is no unprefixed EME support ([#6068](https://github.com/shaka-project/shaka-player/issues/6068)) ([e62103f](https://github.com/shaka-project/shaka-player/commit/e62103f8722f7d927fe3a9e942b8ac2ee5a05204))
98
+
3
99
  ## [4.3.13](https://github.com/shaka-project/shaka-player/compare/v4.3.12...v4.3.13) (2023-10-04)
4
100
 
5
101
 
@@ -69,7 +69,7 @@ dispute. If you are unable to resolve the matter for any reason, or if the
69
69
  behavior is threatening or harassing, report it. We are dedicated to providing
70
70
  an environment where participants feel welcome and safe.
71
71
 
72
- Reports should be directed to *shaka-player-issues@google.com*, the
72
+ Reports should be directed to *shaka-player-maintainers@googlegroups.com*, the
73
73
  Project Steward(s) for *Shaka Player*. It is the Project Steward’s duty to
74
74
  receive and address reported violations of the code of conduct. They will then
75
75
  work with a committee consisting of representatives from the Open Source
package/CONTRIBUTORS CHANGED
@@ -31,6 +31,7 @@ Alvaro Velad Galvan <ladvan91@hotmail.com>
31
31
  Amila Sampath <lucksy@gmail.com>
32
32
  Andy Hochhaus <ahochhaus@samegoal.com>
33
33
  Anthony Stansbridge <github@anthonystansbridge.co.uk>
34
+ Antonio Diaz Correa <hello@antoniodiaz.me>
34
35
  Ashutosh Kumar Mukhiya <ashukm4@gmail.com>
35
36
  Benjamin Wallberg <benjamin.wallberg@bonnierbroadcasting.com>
36
37
  Benjamin Wallberg <me@bwallberg.com>
@@ -50,11 +51,13 @@ Enson Choy <enson.choy@harmonicinc.com>
50
51
  Esteban Dosztal <edosztal@gmail.com>
51
52
  Fadomire <fadomire@gmail.com>
52
53
  François Beaufort <fbeaufort@google.com>
54
+ Gary Katsevman <git@gkatsev.com>
53
55
  Gerardo Meola <meola.gerardo@gmail.com>
54
56
  Gil Gonen <gil.gonen@gmail.com>
55
57
  Giorgio Gamberoni <giorgio.gamberoni@gmail.com>
56
58
  Giuseppe Samela <giuseppe.samela@gmail.com>
57
59
  Hichem Taoufik <hichem@code-it.fr>
60
+ Ivan Kohut <i.kohut@yahoo.com>
58
61
  Itay Kinnrot <itay.kinnrot@kaltura.com>
59
62
  Isaac Ramirez <isaac.ramirez.herrera@gmail.com>
60
63
  Jacob Trimble <modmaker@google.com>
@@ -73,11 +76,13 @@ Jozef Chúťka <jozefchutka@gmail.com>
73
76
  Julian Domingo <juliandomingo@google.com>
74
77
  Jun Hong Chong <chongjunhong@gmail.com>
75
78
  Jürgen Kartnaller <kartnaller@lovelysystems.com>
79
+ Justin Swaney <justin.mark.swaney@gmail.com>
76
80
  Leandro Ribeiro Moreira <leandro.ribeiro.moreira@gmail.com>
77
81
  Loïc Raux <loicraux@gmail.com>
78
82
  Lucas Gabriel Sánchez <unkiwii@gmail.com>
79
83
  Martin Stark <martin.stark@eyevinn.se>
80
84
  Matias Russitto <russitto@gmail.com>
85
+ Mathieu Côté <mcote@mirego.com>
81
86
  Matthias Van Parijs <matvp91@gmail.com>
82
87
  Mattias Wadman <mattias.wadman@gmail.com>
83
88
  Michelle Zhuo <michellezhuo@google.com>
@@ -117,6 +122,7 @@ Theodore Abshire <theodab@google.com>
117
122
  Thomas Stephens <thomas@ustudio.com>
118
123
  Tim Plummer <objelisks@google.com>
119
124
  Timothy Drews <tdrews@google.com>
125
+ Thomas Champion <thchampi@gmail.com>
120
126
  Tomas Bucher <collapsingtesseract@gmail.com>
121
127
  Tomas Tichy <mr.tichyt@gmail.com>
122
128
  Tomohiro Matsuzawa <thmatuza75@hotmail.com>
package/README.md CHANGED
@@ -251,6 +251,8 @@ attributes.
251
251
  ## Documentation & Important Links ##
252
252
 
253
253
  * [Demo](https://shaka-player-demo.appspot.com)([sources](demo/))
254
+ * [Nightly Demo](https://nightly-dot-shaka-player-demo.appspot.com)
255
+ * [Demo index](https://index-dot-shaka-player-demo.appspot.com)
254
256
  * [API documentation](https://shaka-player-demo.appspot.com/docs/api/index.html)
255
257
  * [Tutorials](https://shaka-player-demo.appspot.com/docs/api/tutorial-welcome.html)
256
258
  * [Hosted builds on Google Hosted Libraries](https://developers.google.com/speed/libraries/#shaka-player)
@@ -7,7 +7,6 @@
7
7
 
8
8
  /**
9
9
  * @fileoverview
10
- * @suppress {missingRequire}
11
10
  */
12
11
 
13
12
  goog.provide('ShakaDemoAssetInfo');
@@ -7,7 +7,6 @@
7
7
 
8
8
  /**
9
9
  * @fileoverview
10
- * @suppress {missingRequire}
11
10
  */
12
11
 
13
12
  goog.require('ShakaDemoAssetInfo');
package/demo/custom.js CHANGED
@@ -868,6 +868,8 @@ shakaDemo.Custom = class {
868
868
  c.addButton(shakaDemo.MessageIds.EDIT_CUSTOM, async () => {
869
869
  if (asset.unstoreCallback) {
870
870
  await asset.unstoreCallback();
871
+ this.saveAssetInfos_(this.assets_);
872
+ this.remakeSavedList_();
871
873
  }
872
874
  this.showAssetDialog_(asset);
873
875
  });
package/dist/controls.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright 2016 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- .shaka-hidden{display:none!important}.shaka-video-container{position:relative;top:0;left:0;display:flex}.shaka-video-container .material-icons-round{font-family:"Material Icons Round";font-size:24px}.shaka-video-container *{font-family:Roboto-Regular,Roboto,sans-serif,TengwarTelcontar}.shaka-video-container:fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-webkit-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-webkit-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-moz-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-moz-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-ms-fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:-ms-fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-controls-container{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;z-index:1}.shaka-video-container:not([shaka-controls=true]) .shaka-controls-container{display:none}.shaka-controls-container *{flex-shrink:0}.shaka-controls-container[casting=true] .shaka-fullscreen-button{display:none}.shaka-canvas-container{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;pointer-events:none}.shaka-bottom-controls{width:96%;padding:0;padding-bottom:2.5%;z-index:1}.shaka-controls-button-panel{padding:0;margin:0;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;overflow:hidden;min-width:48px;font-size:12px;font-weight:400;font-style:normal;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-controls-button-panel,.shaka-controls-container[shown=true] .shaka-controls-button-panel{opacity:1}.shaka-controls-button-panel>*{color:#fff;height:32px;line-height:.5;margin:1px;padding:0 5px;background:0 0;border:0;cursor:pointer}.shaka-controls-button-panel .shaka-overflow-menu-only{display:none}.shaka-play-button-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center}.shaka-statistics-container{overflow-x:hidden;overflow-y:auto;min-width:300px;color:#fff;background-color:rgba(35 35 35 / 90%);font-size:14px;padding:5px 10px;border-radius:2px;position:absolute;z-index:2;left:15px;top:15px;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-statistics-container,.shaka-controls-container[shown=true] .shaka-statistics-container{opacity:1}.shaka-statistics-container div{display:flex;justify-content:space-between}.shaka-statistics-container span{color:#969696}.shaka-context-menu{background-color:rgba(35 35 35 / 90%);border-radius:2px;position:absolute;z-index:3}.shaka-context-menu button{padding:5px 10px;width:100%;display:flex;align-items:center;color:#fff;background:0 0;border:0;cursor:pointer}.shaka-context-menu button:hover{background-color:rgba(50 50 50 / 90%)}.shaka-context-menu label{padding:0 20px;align-items:flex-start;color:#fff;cursor:pointer}.shaka-context-menu .shaka-current-selection-span{align-items:flex-start;color:#fff;cursor:pointer}.shaka-scrim-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s;background:linear-gradient(to top,#000 0,transparent 15%)}.shaka-controls-container[casting=true] .shaka-scrim-container,.shaka-controls-container[shown=true] .shaka-scrim-container{opacity:1}.shaka-text-container{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;bottom:0;width:100%;min-width:48px;transition:bottom cubic-bezier(.4, 0, .6, 1) .1s;transition-delay:0.5s;font-size:20px;line-height:1.4;color:#fff}.shaka-text-container span.shaka-text-wrapper{display:inline;background:0 0}.shaka-controls-container[shown=true]~.shaka-text-container{bottom:15%;transition-delay:0s}.shaka-spinner-container{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;flex-shrink:1;display:flex;justify-content:center;align-items:center}.shaka-video-container:not([shaka-controls=true]) .shaka-spinner-container{display:none}.shaka-spinner{position:relative;top:0;left:0;margin:0;box-sizing:border-box;padding:calc(15.6% / 2);width:0;height:0;filter:drop-shadow(0 0 2px rgba(255 255 255 / 50%))}.shaka-play-button{box-sizing:border-box;padding:calc(15% / 2);width:0;height:0;margin:0;border-radius:50%;box-shadow:rgba(0 0 0 / 10%) 0 0 20px 0;border:none;background-size:50%;background-repeat:no-repeat;background-position:center center;background-color:rgba(255 255 255 / 90%);opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-play-button,.shaka-controls-container[shown=true] .shaka-play-button{opacity:1}.shaka-play-button[icon=play]{background-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M8%205v14l11-7z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E")}.shaka-play-button[icon=pause]{background-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M6%2019h4V5H6v14zm8-14v14h4V5h-4z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E")}.shaka-current-time{font-size:14px;color:#fff;cursor:pointer}.shaka-current-time[disabled]{background-color:transparent;color:#fff;cursor:default}.shaka-controls-container button:focus,.shaka-controls-container input:focus{outline:1px solid Highlight}.shaka-controls-container button:-moz-focus-inner,.shaka-controls-container input:-moz-focus-outer{outline:0;border:0}.shaka-controls-container:not(.shaka-keyboard-navigation) button:focus,.shaka-controls-container:not(.shaka-keyboard-navigation) input:focus{outline:0}.shaka-range-container{position:relative;top:0;left:0;margin:calc((12px - 4px)/ 2) 6px;height:4px;border-radius:4px;background:#fff}.shaka-volume-bar-container{width:100px;padding:0}.shaka-range-element{-webkit-appearance:none;background:0 0;position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;height:12px;top:calc((4px - 12px)/ 2);z-index:1}.shaka-range-element::-webkit-slider-runnable-track{width:100%;cursor:pointer;height:12px;background:0 0;color:transparent;border:none}.shaka-range-element::-webkit-slider-thumb{-webkit-appearance:none;border:none;border-radius:12px;height:12px;width:12px;background:#fff}.shaka-range-element::-moz-range-track{width:100%;cursor:pointer;height:12px;background:0 0;color:transparent;border:none}.shaka-range-element::-moz-range-thumb{-webkit-appearance:none;border:none;border-radius:12px;height:12px;width:12px;background:#fff}.shaka-seek-bar-container{opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-seek-bar-container,.shaka-controls-container[shown=true] .shaka-seek-bar-container{opacity:1}.shaka-ad-markers{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%}/*!
6
+ .shaka-hidden{display:none!important}.shaka-video-container{position:relative;top:0;left:0;display:flex}.shaka-video-container .material-icons-round{font-family:"Material Icons Round";font-size:24px}.shaka-video-container *{font-family:Roboto-Regular,Roboto,sans-serif,TengwarTelcontar;-webkit-font-smoothing:antialiased}.shaka-video-container:fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-webkit-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-webkit-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-moz-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-moz-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-ms-fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:-ms-fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-controls-container{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;z-index:1}.shaka-video-container:not([shaka-controls=true]) .shaka-controls-container{display:none}.shaka-controls-container *{flex-shrink:0}.shaka-controls-container[casting=true] .shaka-fullscreen-button{display:none}.shaka-canvas-container{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;pointer-events:none}.shaka-bottom-controls{width:96%;padding:0;padding-bottom:2.5%;z-index:1}.shaka-controls-button-panel{padding:0;margin:0;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;overflow:hidden;min-width:48px;font-size:12px;font-weight:400;font-style:normal;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-controls-button-panel,.shaka-controls-container[shown=true] .shaka-controls-button-panel{opacity:1}.shaka-controls-button-panel>*{color:#fff;height:32px;line-height:.5;margin:1px;padding:0 5px;background:0 0;border:0;cursor:pointer}.shaka-controls-button-panel .shaka-overflow-menu-only{display:none}.shaka-play-button-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center}.shaka-statistics-container{overflow-x:hidden;overflow-y:auto;min-width:300px;color:#fff;background-color:rgba(35 35 35 / 90%);font-size:14px;padding:5px 10px;border-radius:2px;position:absolute;z-index:2;left:15px;top:15px;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-statistics-container,.shaka-controls-container[shown=true] .shaka-statistics-container{opacity:1}.shaka-statistics-container div{display:flex;justify-content:space-between}.shaka-statistics-container span{color:#969696}.shaka-context-menu{background-color:rgba(35 35 35 / 90%);border-radius:2px;position:absolute;z-index:3}.shaka-context-menu button{padding:5px 10px;width:100%;display:flex;align-items:center;color:#fff;background:0 0;border:0;cursor:pointer}.shaka-context-menu button:hover{background-color:rgba(50 50 50 / 90%)}.shaka-context-menu label{padding:0 20px;align-items:flex-start;color:#fff;cursor:pointer}.shaka-context-menu .shaka-current-selection-span{align-items:flex-start;color:#fff;cursor:pointer}.shaka-scrim-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s;background:linear-gradient(to top,#000 0,transparent 15%)}.shaka-controls-container[casting=true] .shaka-scrim-container,.shaka-controls-container[shown=true] .shaka-scrim-container{opacity:1}.shaka-text-container{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;bottom:0;width:100%;min-width:48px;transition:bottom cubic-bezier(.4, 0, .6, 1) .1s;transition-delay:0.5s;font-size:20px;line-height:1.4;color:#fff}.shaka-text-container span.shaka-text-wrapper{display:inline;background:0 0}.shaka-controls-container[shown=true]~.shaka-text-container{bottom:15%;transition-delay:0s}.shaka-spinner-container{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;flex-shrink:1;display:flex;justify-content:center;align-items:center}.shaka-video-container:not([shaka-controls=true]) .shaka-spinner-container{display:none}.shaka-spinner{position:relative;top:0;left:0;margin:0;box-sizing:border-box;padding:calc(15.6% / 2);width:0;height:0;filter:drop-shadow(0 0 2px rgba(255 255 255 / 50%))}.shaka-play-button{box-sizing:border-box;padding:calc(15% / 2);width:0;height:0;margin:0;border-radius:50%;box-shadow:rgba(0 0 0 / 10%) 0 0 20px 0;border:none;background-size:50%;background-repeat:no-repeat;background-position:center center;background-color:rgba(255 255 255 / 90%);opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-play-button,.shaka-controls-container[shown=true] .shaka-play-button{opacity:1}.shaka-play-button[icon=play]{background-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M8%205v14l11-7z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E")}.shaka-play-button[icon=pause]{background-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M6%2019h4V5H6v14zm8-14v14h4V5h-4z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E")}.shaka-current-time{font-size:14px;color:#fff;cursor:pointer}.shaka-current-time[disabled]{background-color:transparent;color:#fff;cursor:default}.shaka-controls-container button:focus,.shaka-controls-container input:focus{outline:1px solid Highlight}.shaka-controls-container button:-moz-focus-inner,.shaka-controls-container input:-moz-focus-outer{outline:0;border:0}.shaka-controls-container:not(.shaka-keyboard-navigation) button:focus,.shaka-controls-container:not(.shaka-keyboard-navigation) input:focus{outline:0}.shaka-range-container{position:relative;top:0;left:0;margin:calc((12px - 4px)/ 2) 6px;height:4px;border-radius:4px;background:#fff}.shaka-volume-bar-container{width:100px;padding:0}.shaka-range-element{-webkit-appearance:none;background:0 0;position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;height:12px;top:calc((4px - 12px)/ 2);z-index:1}.shaka-range-element::-webkit-slider-runnable-track{width:100%;cursor:pointer;height:12px;background:0 0;color:transparent;border:none}.shaka-range-element::-webkit-slider-thumb{-webkit-appearance:none;border:none;border-radius:12px;height:12px;width:12px;background:#fff}.shaka-range-element::-moz-range-track{width:100%;cursor:pointer;height:12px;background:0 0;color:transparent;border:none}.shaka-range-element::-moz-range-thumb{-webkit-appearance:none;border:none;border-radius:12px;height:12px;width:12px;background:#fff}.shaka-seek-bar-container{opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s}.shaka-controls-container[casting=true] .shaka-seek-bar-container,.shaka-controls-container[shown=true] .shaka-seek-bar-container{opacity:1}.shaka-ad-markers{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%}/*!
7
7
  * @license
8
8
  * The SVG/CSS buffering spinner is based on http://codepen.io/jczimm/pen/vEBpoL
9
9
  * Some local modifications have been made.
@@ -1 +1 @@
1
- {"version":3,"sources":["$stdin"],"names":[],"mappings":"AAaA,cAGE,QAAS,eAkBX,uBASE,SAAU,SAIV,IAAK,EACL,KAAM,EAGN,QAAS,KAIX,6CACE,YAAa,uBACb,UAAW,KAEb,yBACE,YAAa,cAAc,CAAE,MAAM,CAAE,UAAU,CAAE,iBAQnD,kCACE,MAAO,KACP,OAAQ,KACR,iBAAkB,KAEpB,wDAIE,UAAW,QAEb,2CACE,MAAO,KACP,OAAQ,KACR,iBAAk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,eACb,YAAa,OACb,UAAW,KAEX,WAAY,qBACZ,MAAO,KACP,cAAe,IACf,QAAS,IAAI,KAEb,SAAU,SACV,OAAQ,iBAER,KAAM,eAEN,kBAAmB,iBACnB,eAAgB,iBAChB,cAAe,iBACf,aAAc,iBACd,UAAW,iBAIb,sDADA,6DADA,qDAGE,QAAS,iBAAiB,KAAK,mBAAmB,IAIpD,mDADA,0DADA,kDAGE,KAAM,EACN,kBAAmB,cACnB,eAAgB,cAChB,cAAe,cACf,aAAc,cACd,UAAW,cAIb,kDADA,yDADA,iDAGE,KAAM,KACN,kBAAmB,kBACnB,eAAgB,kBAChB,cAAe,kBACf,aAAc,kBACd,UAAW,kBAEb,WACE,YAAa,OACb,WAAY,OACZ,YAAa,IACb,IAAK,qEAAqE,mBAG5E,WACE,YAAa,uBACb,WAAY,OACZ,YAAa,IACb,IAAK,kGAAkG,mBAGzG,sBACE,YAAa,uBACb,YAAa,IACb,WAAY,OACZ,UAAW,KACX,YAAa,EACb,eAAgB,OAChB,eAAgB,KAChB,QAAS,aACT,YAAa,OACb,UAAW,OACX,UAAW"}
@@ -263,7 +263,7 @@ m=[],n=[];b=(p,q,r)=>{const t=shakaDemo.Custom.ButtonStyle_.PLAIN;p=shakaDemoMai
263
263
  f,!1);b(shakaDemo.MessageIds.ADS_TAB,g,!1);b(shakaDemo.MessageIds.HLS_TAB,h,!1);b(shakaDemo.MessageIds.EXTRA_TAB,k,!1);this.dialog_.appendChild(l);this.dialog_.appendChild(d);this.dialog_.appendChild(e);this.dialog_.appendChild(f);this.dialog_.appendChild(g);this.dialog_.appendChild(h);this.dialog_.appendChild(k);this.dialog_.appendChild(a);this.dialog_.appendChild(c);componentHandler.upgradeDom();this.dialog_.showModal()}loadAssetInfos_(){var a=window.localStorage.getItem(shakaDemo.Custom.saveId_);
264
264
  return a?(a=JSON.parse(a),new Set(a.map(b=>{b=ShakaDemoAssetInfo.fromJSON(b);shakaDemoMain.setupOfflineSupport(b);return b}))):new Set}saveAssetInfos_(a){const b=shakaDemo.Custom.saveId_;a=Array.from(a);window.localStorage.setItem(b,JSON.stringify(a))}makeButton_(a,b,c){const d=document.createElement("button");switch(b){case shakaDemo.Custom.ButtonStyle_.FAB:d.classList.add("mdl-button--fab");d.classList.add("mdl-button--colored");b=document.createElement("i");b.classList.add("material-icons-round");
265
265
  b.textContent=a;d.appendChild(b);break;case shakaDemo.Custom.ButtonStyle_.RAISED:d.textContent=a;d.classList.add("mdl-button--raised");break;case shakaDemo.Custom.ButtonStyle_.PLAIN:d.textContent=a}d.addEventListener("click",c);d.classList.add("mdl-button");d.classList.add("mdl-js-button");d.classList.add("mdl-js-ripple-effect");return d}createAssetCardFor_(a){return new shakaDemo.AssetCard(this.savedList_,a,!1,b=>{b.addButton(shakaDemo.MessageIds.PLAY,()=>{shakaDemoMain.loadAsset(a);this.updateSelected_()});
266
- b.addButton(shakaDemo.MessageIds.EDIT_CUSTOM,async()=>{a.unstoreCallback&&await a.unstoreCallback();this.showAssetDialog_(a)});b.addButton(shakaDemo.MessageIds.DELETE_CUSTOM,async()=>{this.assets_.delete(a);a.unstoreCallback&&await a.unstoreCallback();this.saveAssetInfos_(this.assets_);this.remakeSavedList_()},shakaDemo.MessageIds.DELETE_CUSTOM);b.addStoreButton()})}updateSelected_(){for(const a of this.assetCards_)a.selectByAsset(shakaDemoMain.selectedAsset)}remakeSavedList_(){shaka.util.Dom.removeAllChildren(this.savedList_);
266
+ b.addButton(shakaDemo.MessageIds.EDIT_CUSTOM,async()=>{a.unstoreCallback&&(await a.unstoreCallback(),this.saveAssetInfos_(this.assets_),this.remakeSavedList_());this.showAssetDialog_(a)});b.addButton(shakaDemo.MessageIds.DELETE_CUSTOM,async()=>{this.assets_.delete(a);a.unstoreCallback&&await a.unstoreCallback();this.saveAssetInfos_(this.assets_);this.remakeSavedList_()},shakaDemo.MessageIds.DELETE_CUSTOM);b.addStoreButton()})}updateSelected_(){for(const a of this.assetCards_)a.selectByAsset(shakaDemoMain.selectedAsset)}remakeSavedList_(){shaka.util.Dom.removeAllChildren(this.savedList_);
267
267
  if(0==this.assets_.size){const a=(b,c)=>{const d=document.createElement("h2");d.classList.add("mdl-typography--"+b);d.textContent=c;this.savedList_.appendChild(d)};a("title",shakaDemoMain.getLocalizedString(shakaDemo.MessageIds.CUSTOM_INTRO_ONE));a("body-2",shakaDemoMain.getLocalizedString(shakaDemo.MessageIds.CUSTOM_INTRO_TWO));a("body-1",shakaDemoMain.getLocalizedString(shakaDemo.MessageIds.CUSTOM_INTRO_THREE))}else this.assetCards_=Array.from(this.assets_).map(a=>this.createAssetCardFor_(a)),this.updateSelected_()}};
268
268
  shakaDemo.Custom.ButtonStyle_={RAISED:0,FAB:1,PLAIN:2};shakaDemo.Custom.saveId_="shakaPlayerDemoSavedAssets";document.addEventListener("shaka-main-loaded",shakaDemo.Custom.init);document.addEventListener("shaka-main-cleanup",()=>{shakaDemoCustom=null});shakaDemo.Utils=class{static runThroughHashParams(a,b){const c=[],d=(k,l)=>{c.push(l);a(k,l)};d("audiolang","preferredAudioLanguage");d("textlang","preferredTextLanguage");d("textrole","preferredTextRole");d("channels","preferredAudioChannelCount");c.push("abr.enabled");c.push("drm.advanced");c.push("drm.servers");const e=[],f=[],g=k=>{for(const l in k){e.includes(l)&&!f.includes(l)&&f.push(l);e.push(l);const m=k[l];"number"!=typeof m&&"string"!=typeof m&&"boolean"!=typeof m&&g(m)}};g(b);const h=
269
269
  (k,l)=>{for(const m in k){let n=m;const p=l+m;if(c.includes(p))continue;f.includes(m)&&(n=p);const q=k[m];"number"==typeof q||"string"==typeof q||"boolean"==typeof q?a(n,p):h(q,p+".")}};h(b,"")}static browserSupportsUncompiledMode(){try{return eval("async ()=>{}"),!0}catch(a){return!1}}};let shakaDemoFront;