shaka-player 3.1.1 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS +7 -2
- package/CHANGELOG.md +199 -0
- package/CONTRIBUTORS +9 -3
- package/build/generateExterns.js +1 -1
- package/build/misspellings.txt +1 -0
- package/build/shakaBuildHelpers.py +6 -5
- package/build/subprocessWindowsPatch.py +103 -0
- package/demo/common/assets.js +1 -1
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/demo.compiled.debug.js +1 -1
- package/dist/demo.compiled.js +1 -1
- package/dist/deps.js +7 -7
- package/dist/locales.js +35 -33
- package/dist/receiver.compiled.debug.js +1 -1
- package/dist/receiver.compiled.js +1 -1
- package/dist/shaka-player.compiled.d.ts +171 -3
- package/dist/shaka-player.compiled.debug.d.ts +171 -3
- package/dist/shaka-player.compiled.debug.externs.js +179 -1
- package/dist/shaka-player.compiled.debug.js +365 -344
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +179 -1
- package/dist/shaka-player.compiled.js +806 -798
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +171 -3
- package/dist/shaka-player.ui.debug.d.ts +171 -3
- package/dist/shaka-player.ui.debug.externs.js +181 -3
- package/dist/shaka-player.ui.debug.js +458 -435
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +181 -3
- package/dist/shaka-player.ui.js +927 -918
- package/dist/shaka-player.ui.map +4 -4
- package/docs/tutorials/fairplay.md +1 -1
- package/docs/tutorials/faq.md +14 -0
- package/docs/tutorials/index.json +2 -2
- package/docs/tutorials/upgrade-v3.md +38 -0
- package/docs/tutorials/upgrade.md +3 -3
- package/externs/ima.js +4 -0
- package/externs/shaka/ads.js +2 -0
- package/externs/shaka/player.js +6 -0
- package/externs/shaka/text.js +10 -0
- package/karma.conf.js +1 -0
- package/lib/ads/ad_manager.js +29 -11
- package/lib/ads/client_side_ad_manager.js +76 -86
- package/lib/ads/server_side_ad_manager.js +26 -11
- package/lib/cast/cast_proxy.js +3 -2
- package/lib/cast/cast_receiver.js +2 -1
- package/lib/cast/cast_sender.js +2 -2
- package/lib/cea/sei_processor.js +24 -17
- package/lib/dash/dash_parser.js +100 -5
- package/lib/dash/segment_list.js +1 -1
- package/lib/dash/segment_template.js +7 -4
- package/lib/hls/hls_parser.js +44 -17
- package/lib/media/closed_caption_parser.js +3 -1
- package/lib/media/content_workarounds.js +12 -0
- package/lib/media/drm_engine.js +20 -1
- package/lib/media/gap_jumping_controller.js +8 -4
- package/lib/media/media_source_engine.js +1 -2
- package/lib/media/playhead.js +1 -1
- package/lib/media/presentation_timeline.js +3 -1
- package/lib/media/segment_reference.js +8 -0
- package/lib/media/streaming_engine.js +28 -19
- package/lib/net/networking_engine.js +2 -1
- package/lib/player.js +108 -54
- package/lib/polyfill/encryption_scheme.js +2 -0
- package/lib/polyfill/fullscreen.js +2 -0
- package/lib/polyfill/mathround.js +2 -0
- package/lib/polyfill/media_capabilities.js +76 -22
- package/lib/polyfill/mediasource.js +8 -0
- package/lib/polyfill/orientation.js +3 -1
- package/lib/polyfill/patchedmediakeys_apple.js +6 -4
- package/lib/polyfill/patchedmediakeys_ms.js +6 -4
- package/lib/polyfill/patchedmediakeys_nop.js +2 -0
- package/lib/polyfill/patchedmediakeys_webkit.js +6 -4
- package/lib/polyfill/pip_webkit.js +2 -0
- package/lib/polyfill/storage_estimate.js +2 -0
- package/lib/polyfill/video_play_promise.js +2 -0
- package/lib/polyfill/videoplaybackquality.js +2 -0
- package/lib/polyfill/vttcue.js +2 -0
- package/lib/text/cue.js +17 -0
- package/lib/text/mp4_ttml_parser.js +3 -0
- package/lib/text/text_engine.js +14 -2
- package/lib/text/ttml_text_parser.js +135 -87
- package/lib/text/ui_text_displayer.js +233 -83
- package/lib/text/vtt_text_parser.js +4 -2
- package/lib/util/fake_event.js +53 -7
- package/lib/util/mp4_box_parsers.js +1 -1
- package/lib/util/periods.js +111 -35
- package/lib/util/platform.js +13 -1
- package/lib/util/stream_utils.js +79 -10
- package/lib/util/xml_utils.js +19 -0
- package/package.json +2 -2
- package/test/cast/cast_proxy_unit.js +12 -6
- package/test/cast/cast_receiver_integration.js +1 -1
- package/test/cast/cast_utils_unit.js +1 -1
- package/test/cea/mp4_cea_parser_unit.js +26 -0
- package/test/dash/dash_parser_live_unit.js +1 -0
- package/test/dash/dash_parser_manifest_unit.js +220 -2
- package/test/dash/dash_parser_segment_template_unit.js +3 -3
- package/test/hls/hls_parser_unit.js +5 -1
- package/test/media/closed_caption_parser_unit.js +20 -0
- package/test/media/drm_engine_unit.js +56 -0
- package/test/media/playhead_unit.js +27 -1
- package/test/media/presentation_timeline_unit.js +19 -0
- package/test/media/streaming_engine_integration.js +2 -1
- package/test/media/streaming_engine_unit.js +148 -3
- package/test/player_integration.js +38 -0
- package/test/player_unit.js +101 -0
- package/test/test/assets/3675/chunk-stream0-00001.m4s +0 -0
- package/test/test/assets/3675/chunk-stream0-00002.m4s +0 -0
- package/test/test/assets/3675/chunk-stream0-00003.m4s +0 -0
- package/test/test/assets/3675/chunk-stream0-00004.m4s +0 -0
- package/test/test/assets/3675/chunk-stream0-00005.m4s +0 -0
- package/test/test/assets/3675/chunk-stream0-00006.m4s +0 -0
- package/test/test/assets/3675/chunk-stream0-00007.m4s +0 -0
- package/test/test/assets/3675/dash_0.mpd +30 -0
- package/test/test/assets/3675/dash_1.mpd +30 -0
- package/test/test/assets/3675/dash_2.mpd +30 -0
- package/test/test/assets/3675/dash_3.mpd +30 -0
- package/test/test/assets/3675/dash_4.mpd +30 -0
- package/test/test/assets/3675/dash_5.mpd +26 -0
- package/test/test/assets/3675/init-stream0.m4s +0 -0
- package/test/test/assets/empty_caption_video_init.mp4 +0 -0
- package/test/test/assets/empty_caption_video_segment.mp4 +0 -0
- package/test/test/util/fake_ad_manager.js +4 -1
- package/test/test/util/simple_fakes.js +5 -3
- package/test/test/util/ttml_utils.js +81 -0
- package/test/text/mp4_ttml_parser_unit.js +11 -18
- package/test/text/ttml_text_parser_unit.js +542 -220
- package/test/text/ui_text_displayer_unit.js +95 -18
- package/test/text/vtt_text_parser_unit.js +17 -1
- package/test/ui/localization_unit.js +15 -14
- package/test/ui/text_displayer_layout_unit.js +52 -1
- package/test/util/mp4_box_parsers_unit.js +28 -0
- package/test/util/periods_unit.js +190 -2
- package/test/util/stream_utils_unit.js +59 -2
- package/ui/airplay_button.js +5 -0
- package/ui/big_play_button.js +10 -0
- package/ui/cast_button.js +2 -3
- package/ui/controls.js +8 -6
- package/ui/less/buttons.less +0 -4
- package/ui/less/containers.less +10 -5
- package/ui/locales/en.json +1 -0
- package/ui/locales/ru.json +6 -6
- package/ui/locales/source.json +4 -0
- package/ui/localization.js +28 -51
- package/ui/pip_button.js +2 -3
- package/ui/play_button.js +10 -10
- package/ui/small_play_button.js +12 -0
- package/ui/text_selection.js +1 -0
- package/docs/tutorials/upgrade-v2-4.md +0 -481
package/AUTHORS
CHANGED
|
@@ -27,6 +27,8 @@ Code It <*@code-it.fr>
|
|
|
27
27
|
Charter Communications Inc <*@charter.com>
|
|
28
28
|
Damien Deis <developer.deis@gmail.com>
|
|
29
29
|
Dany L'Hébreux <danylhebreux@gmail.com>
|
|
30
|
+
Dl Dador <dldador@gmail.com>
|
|
31
|
+
Enson Choy <enson.choy@harmonicinc.com>
|
|
30
32
|
Esteban Dosztal <edosztal@gmail.com>
|
|
31
33
|
Fadomire <fadomire@gmail.com>
|
|
32
34
|
Google Inc. <*@google.com>
|
|
@@ -49,16 +51,20 @@ Nick Desaulniers <nick@mozilla.com>
|
|
|
49
51
|
Oskar Arvidsson <oskar@irock.se>
|
|
50
52
|
Patrick Cruikshank <patrick.cruikshank@gmail.com>
|
|
51
53
|
Patrick Kunka <patrick@kunkalabs.com>
|
|
54
|
+
Paul Jordaan <pdjordaan@gmail.com>
|
|
52
55
|
Percy Tse <percy.tse@gmail.com>
|
|
53
56
|
Peter Nycander <peter.nycander@gmail.com>
|
|
54
57
|
Philo Inc. <*@philo.com>
|
|
58
|
+
Prakash <duggaraju@gmail.com>
|
|
55
59
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
60
|
+
Robert Galluccio <robertnw5@gmail.com>
|
|
56
61
|
Roi Lipman <roilipman@gmail.com>
|
|
57
62
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
58
63
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
|
59
64
|
SameGoal Inc. <*@samegoal.com>
|
|
60
65
|
Sanborn Hilland <sanbornh@rogers.com>
|
|
61
66
|
Sander Saares <sander@saares.eu>
|
|
67
|
+
Swank Motion Pictures Inc. <*@swankmp.com>
|
|
62
68
|
TalkTalk Plc <*@talktalkplc.com>
|
|
63
69
|
Tatsiana Gelahova <tatsiana.gelahova@gmail.com>
|
|
64
70
|
Tomas Tichy <mr.tichyt@gmail.com>
|
|
@@ -67,6 +73,5 @@ Toshihiro Suzuki <t.suzuki326@gmail.com>
|
|
|
67
73
|
uStudio Inc. <*@ustudio.com>
|
|
68
74
|
Verizon Digital Media Services <*@verizondigitalmedia.com>
|
|
69
75
|
Vincent Valot <valot.vince@gmail.com>
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
Wayne Morgan <wayne.morgan.dev@gmail.com>
|
|
72
77
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,202 @@
|
|
|
1
|
+
## 3.1.5 (2022-01-28)
|
|
2
|
+
|
|
3
|
+
Bugfixes:
|
|
4
|
+
- Fix support for TTAF1 namespace (old version of TTML)
|
|
5
|
+
- https://github.com/google/shaka-player/issues/3009
|
|
6
|
+
- https://github.com/google/shaka-player/pull/3864
|
|
7
|
+
- https://github.com/google/shaka-player/pull/3906
|
|
8
|
+
- Fix misdetection of HEVC support on MS Edge
|
|
9
|
+
- https://github.com/google/shaka-player/pull/3897
|
|
10
|
+
- Fix caption overlap
|
|
11
|
+
- https://github.com/google/shaka-player/issues/3850
|
|
12
|
+
- https://github.com/google/shaka-player/issues/3741
|
|
13
|
+
- Fix text UI not updating when text is disabled
|
|
14
|
+
- https://github.com/google/shaka-player/issues/3728
|
|
15
|
+
- https://github.com/google/shaka-player/pull/3867
|
|
16
|
+
- Clear buffer on seek if mediaState is updating
|
|
17
|
+
- https://github.com/google/shaka-player/issues/3299
|
|
18
|
+
- https://github.com/google/shaka-player/pull/3795
|
|
19
|
+
- Made nested cues inherit region
|
|
20
|
+
- https://github.com/google/shaka-player/issues/3743
|
|
21
|
+
- https://github.com/google/shaka-player/pull/3837
|
|
22
|
+
- Fix MediaCapabilities polyfill on Safari
|
|
23
|
+
- https://github.com/google/shaka-player/issues/3696
|
|
24
|
+
- https://github.com/google/shaka-player/issues/3530
|
|
25
|
+
- Fix usage of Shaka without polyfills
|
|
26
|
+
- https://github.com/google/shaka-player/issues/3843
|
|
27
|
+
- Fix playback failure due to rounding errors
|
|
28
|
+
- https://github.com/google/shaka-player/issues/3717
|
|
29
|
+
- Remove caption wrapper bgColor
|
|
30
|
+
- https://github.com/google/shaka-player/issues/3745
|
|
31
|
+
- https://github.com/google/shaka-player/pull/3838
|
|
32
|
+
- Support "forced-subtitle" role
|
|
33
|
+
- https://github.com/google/shaka-player/issues/3767
|
|
34
|
+
- https://github.com/google/shaka-player/pull/3807
|
|
35
|
+
- Fix time element height on Safari
|
|
36
|
+
- https://github.com/google/shaka-player/issues/3739
|
|
37
|
+
- https://github.com/google/shaka-player/pull/3809
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## 3.1.4 (2022-01-06)
|
|
41
|
+
|
|
42
|
+
Bugfixes:
|
|
43
|
+
- Allow comments in the TTML parser
|
|
44
|
+
- https://github.com/google/shaka-player/issues/3766
|
|
45
|
+
- https://github.com/google/shaka-player/pull/3827
|
|
46
|
+
- Fix HDR signalling via essential or supplemental property
|
|
47
|
+
- https://github.com/google/shaka-player/issues/3726
|
|
48
|
+
- https://github.com/google/shaka-player/pull/3727
|
|
49
|
+
- Fix MediaCapabilities polyfill on Playstation 5
|
|
50
|
+
- https://github.com/google/shaka-player/issues/3582
|
|
51
|
+
- https://github.com/google/shaka-player/pull/3808
|
|
52
|
+
- Add DASH MIME type mapping for src= playback
|
|
53
|
+
- https://github.com/google/shaka-player/pull/3805
|
|
54
|
+
- Fix captions not working after a period transition on live DASH streams
|
|
55
|
+
- https://github.com/google/shaka-player/issues/3783
|
|
56
|
+
- https://github.com/google/shaka-player/pull/3801
|
|
57
|
+
- Fix timestamp offset of CEA-608 cues
|
|
58
|
+
- https://github.com/google/shaka-player/issues/3782
|
|
59
|
+
- Force caption update when removing cues
|
|
60
|
+
- Fixes parsing of HLS 'DEFAULT' attribute
|
|
61
|
+
- https://github.com/google/shaka-player/issues/3769
|
|
62
|
+
- https://github.com/google/shaka-player/pull/3771
|
|
63
|
+
- support stpp.ttml codec in Mp4TtmlParser
|
|
64
|
+
- https://github.com/google/shaka-player/pull/3754
|
|
65
|
+
- Fix Russian translation
|
|
66
|
+
- https://github.com/google/shaka-player/pull/3751
|
|
67
|
+
- Fix HLS VOD duration
|
|
68
|
+
- https://github.com/google/shaka-player/issues/3733
|
|
69
|
+
- Query HDR transfer function
|
|
70
|
+
- https://github.com/google/shaka-player/issues/3729
|
|
71
|
+
- https://github.com/google/shaka-player/pull/3730
|
|
72
|
+
- Fix styling of UI text cues
|
|
73
|
+
- https://github.com/google/shaka-player/issues/3521
|
|
74
|
+
- https://github.com/google/shaka-player/issues/3600
|
|
75
|
+
- https://github.com/google/shaka-player/issues/3713
|
|
76
|
+
- Fix seek range issues on transition from live to VOD
|
|
77
|
+
- https://github.com/google/shaka-player/issues/3675
|
|
78
|
+
- Enforce string-format of event data keys.
|
|
79
|
+
- https://github.com/google/shaka-player/issues/3710
|
|
80
|
+
- Fix vp09 playback on webOS
|
|
81
|
+
- https://github.com/google/shaka-player/pull/3566
|
|
82
|
+
- Dedupe DRM init data
|
|
83
|
+
- https://github.com/google/shaka-player/pull/3695
|
|
84
|
+
- Failover in geo-redundant streams
|
|
85
|
+
- https://github.com/google/shaka-player/pull/3587
|
|
86
|
+
|
|
87
|
+
Demo App:
|
|
88
|
+
- Fix 'Tears of Steel (live, DASH, Server Side ads)'
|
|
89
|
+
- https://github.com/google/shaka-player/pull/3758
|
|
90
|
+
|
|
91
|
+
Docs:
|
|
92
|
+
- Fix typo in Fairplay tutorial
|
|
93
|
+
- https://github.com/google/shaka-player/pull/3714
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## 3.1.3 (2021-10-13)
|
|
97
|
+
|
|
98
|
+
Bugfixes:
|
|
99
|
+
- Work around override of MediaCapabilities polyfill in Apple browsers
|
|
100
|
+
- https://github.com/google/shaka-player/issues/3530
|
|
101
|
+
- https://github.com/google/shaka-player/pull/3668
|
|
102
|
+
- Add support to file type in MediaCapabilities implementation
|
|
103
|
+
- https://github.com/google/shaka-player/pull/3570
|
|
104
|
+
- Fix video poster when autoplay is disabled
|
|
105
|
+
- https://github.com/google/shaka-player/pull/3645
|
|
106
|
+
- Fix tracking of active variant track in live streams
|
|
107
|
+
- Fixes updating of nested cues
|
|
108
|
+
- https://github.com/google/shaka-player/issues/3524
|
|
109
|
+
- https://github.com/google/shaka-player/issues/3643
|
|
110
|
+
- Fix ttml erroneously dismissing cues
|
|
111
|
+
- https://github.com/google/shaka-player/issues/3643
|
|
112
|
+
- Fix control panel alignment in UI
|
|
113
|
+
- https://github.com/google/shaka-player/pull/3650
|
|
114
|
+
- Export missing polyfill install methods
|
|
115
|
+
- https://github.com/google/shaka-player/pull/3660
|
|
116
|
+
- Dispose of ad manager on player detach
|
|
117
|
+
- https://github.com/google/shaka-player/pull/3665
|
|
118
|
+
- Add ResizeObserver to CS ad manager
|
|
119
|
+
- https://github.com/google/shaka-player/pull/3652
|
|
120
|
+
- Avoid seeking on src when start time is 0
|
|
121
|
+
- https://github.com/google/shaka-player/issues/3518
|
|
122
|
+
- https://github.com/google/shaka-player/pull/3644
|
|
123
|
+
- Tolerate misaligned TS files
|
|
124
|
+
- https://github.com/google/shaka-player/issues/3580
|
|
125
|
+
- Fix stopping of Server Side Ad manager
|
|
126
|
+
- https://github.com/google/shaka-player/pull/3611
|
|
127
|
+
- Fix DRM workaround for Tizen and Xbox with ac-3 boxes
|
|
128
|
+
- https://github.com/google/shaka-player/issues/3589
|
|
129
|
+
- https://github.com/google/shaka-player/pull/3631
|
|
130
|
+
- Fix DRM workaround for Tizen and Xbox with avc3 boxes
|
|
131
|
+
- https://github.com/google/shaka-player/pull/3625
|
|
132
|
+
- Fix `BUFFER_READ_OUT_OF_BOUNDS` error when CEA caption packets are empty
|
|
133
|
+
- https://github.com/google/shaka-player/issues/3608
|
|
134
|
+
- https://github.com/google/shaka-player/pull/3609
|
|
135
|
+
- Fix error when un-storing DRM asset
|
|
136
|
+
- https://github.com/google/shaka-player/issues/3534
|
|
137
|
+
- Fix CC parsing of EPB and v1 TKHD boxes
|
|
138
|
+
- https://github.com/google/shaka-player/issues/3502
|
|
139
|
+
- https://github.com/google/shaka-player/pull/3610
|
|
140
|
+
- Always polyfill MediaCapabilities for Apple browsers
|
|
141
|
+
- https://github.com/google/shaka-player/pull/3588
|
|
142
|
+
- Add Support to iOS 12 in MediaCapabilities polyfill
|
|
143
|
+
- https://github.com/google/shaka-player/pull/3573
|
|
144
|
+
- Display captions with forward slashes
|
|
145
|
+
- https://github.com/google/shaka-player/issues/3555
|
|
146
|
+
- https://github.com/google/shaka-player/pull/3556
|
|
147
|
+
- Add support to file type in MediaCapabilities polyfill
|
|
148
|
+
- https://github.com/google/shaka-player/pull/3569
|
|
149
|
+
- Use "undetermined" for missing CC language
|
|
150
|
+
- Exit PiP when destroying UI
|
|
151
|
+
- https://github.com/google/shaka-player/issues/3553
|
|
152
|
+
|
|
153
|
+
Docs:
|
|
154
|
+
- Add FAQ entry for common Vue problem
|
|
155
|
+
- https://github.com/google/shaka-player/issues/3155
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
## 3.1.2 (2021-07-14)
|
|
159
|
+
|
|
160
|
+
Bugfixes:
|
|
161
|
+
- Fix choosing tracks from streaming event
|
|
162
|
+
- https://github.com/google/shaka-player/issues/3448
|
|
163
|
+
- https://github.com/google/shaka-player/pull/3459
|
|
164
|
+
- Fix multiperiod without consistent thumbnails
|
|
165
|
+
- https://github.com/google/shaka-player/issues/3383
|
|
166
|
+
- Fix failure with multiple thumbnails per period
|
|
167
|
+
- https://github.com/google/shaka-player/issues/3383
|
|
168
|
+
- Update Play icon after seeking from end
|
|
169
|
+
- https://github.com/google/shaka-player/pull/3515
|
|
170
|
+
- Reset forced subs between loads
|
|
171
|
+
- Fix thumbnail position calculation
|
|
172
|
+
- https://github.com/google/shaka-player/issues/3511
|
|
173
|
+
- https://github.com/google/shaka-player/pull/3516
|
|
174
|
+
- Fix thumbnail duration, expose start time and duration
|
|
175
|
+
- https://github.com/google/shaka-player/pull/3517
|
|
176
|
+
- Fix enforcement of cue alignment styles
|
|
177
|
+
- https://github.com/google/shaka-player/issues/3379
|
|
178
|
+
- Fix DASH transition from dynamic to static
|
|
179
|
+
- https://github.com/google/shaka-player/pull/3497
|
|
180
|
+
- Fix ARIA label on replay button
|
|
181
|
+
- https://github.com/google/shaka-player/pull/3513
|
|
182
|
+
- Fix audio language switching while using AirPlay
|
|
183
|
+
- https://github.com/google/shaka-player/issues/3125
|
|
184
|
+
- https://github.com/google/shaka-player/pull/3472
|
|
185
|
+
- Show captions with rapid seek when ignoreTextStreamFailures is true
|
|
186
|
+
- https://github.com/google/shaka-player/pull/3476
|
|
187
|
+
- Fix clearing buffer when requested for already-selected variant
|
|
188
|
+
- https://github.com/google/shaka-player/pull/3477
|
|
189
|
+
- Fix hung playback on rapid seek
|
|
190
|
+
- https://github.com/google/shaka-player/pull/3479
|
|
191
|
+
- Don't show AirPlay button if unavailable
|
|
192
|
+
- https://github.com/google/shaka-player/issues/3471
|
|
193
|
+
- Fix bogus debug logs
|
|
194
|
+
|
|
195
|
+
Docs:
|
|
196
|
+
- Update upgrade guides
|
|
197
|
+
- https://github.com/google/shaka-player/issues/3487
|
|
198
|
+
|
|
199
|
+
|
|
1
200
|
## 3.1.1 (2021-06-17)
|
|
2
201
|
|
|
3
202
|
Bugfixes:
|
package/CONTRIBUTORS
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
# Please keep the list sorted.
|
|
24
24
|
|
|
25
25
|
Aaron Vaage <vaage@google.com>
|
|
26
|
+
Adrián Gómez Llorente <adgllorente@gmail.com>
|
|
26
27
|
Aidan Ridley <aidan.ridley@charter.com>
|
|
27
28
|
Alex Jones <alexedwardjones@gmail.com>
|
|
28
29
|
Alvaro Velad Galvan <alvaro.velad@mirada.tv>
|
|
@@ -33,14 +34,17 @@ Ashutosh Kumar Mukhiya <ashukm4@gmail.com>
|
|
|
33
34
|
Benjamin Wallberg <me@bwallberg.com>
|
|
34
35
|
Benjamin Wallberg <benjamin.wallberg@bonnierbroadcasting.com>
|
|
35
36
|
Boris Cupac <borisrt2309@gmail.com>
|
|
37
|
+
Brad Nadler <bnadler@swankmp.com>
|
|
36
38
|
Bryan Huh <bhh1988@gmail.com>
|
|
37
39
|
Chad Assareh <assareh@google.com>
|
|
38
40
|
Chris Fillmore <fillmore.chris@gmail.com>
|
|
39
41
|
Costel Madalin Grecu <madalin.grecu@adswizz.com>
|
|
40
42
|
Damien Deis <developer.deis@gmail.com>
|
|
41
43
|
Dany L'Hébreux <danylhebreux@gmail.com>
|
|
44
|
+
Dl Dador <dldador@gmail.com>
|
|
42
45
|
Donato Borrello <donato@jwplayer.com>
|
|
43
46
|
Duc Pham <duc.pham@edgeware.tv>
|
|
47
|
+
Enson Choy <enson.choy@harmonicinc.com>
|
|
44
48
|
Esteban Dosztal <edosztal@gmail.com>
|
|
45
49
|
Fadomire <fadomire@gmail.com>
|
|
46
50
|
François Beaufort <fbeaufort@google.com>
|
|
@@ -75,9 +79,12 @@ Niklas Korz <nk@alugha.com>
|
|
|
75
79
|
Oskar Arvidsson <oskar@irock.se>
|
|
76
80
|
Patrick Cruikshank <patrick.cruikshank@gmail.com>
|
|
77
81
|
Patrick Kunka <patrick@kunkalabs.com>
|
|
82
|
+
Paul Jordaan <pdjordaan@gmail.com>
|
|
78
83
|
Percy Tse <percy.tse@gmail.com>
|
|
79
84
|
Peter Nycander <peter.nycander@gmail.com>
|
|
85
|
+
Prakash Duggaraju <duggaraju@gmail.com>
|
|
80
86
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
87
|
+
Robert Galluccio <robertnw5@gmail.com>
|
|
81
88
|
Rohit Makasana <rohitbm@google.com>
|
|
82
89
|
Roi Lipman <roilipman@gmail.com>
|
|
83
90
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
@@ -102,6 +109,5 @@ Toshihiro Suzuki <t.suzuki326@gmail.com>
|
|
|
102
109
|
Vasanth Polipelli <vasanthap@google.com>
|
|
103
110
|
Vignesh Venkatasubramanian <vigneshv@google.com>
|
|
104
111
|
Vincent Valot <valot.vince@gmail.com>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
Prakash Duggaraju <duggaraju@gmail.com>
|
|
112
|
+
Wayne Morgan <wayne.morgan.dev@gmail.com>
|
|
113
|
+
Yohann Connell <robinconnell@google.com>
|
package/build/generateExterns.js
CHANGED
|
@@ -818,7 +818,7 @@ function main(args) {
|
|
|
818
818
|
// foo.bar.baz, foo and foo.bar will both need to be declared first.
|
|
819
819
|
const namespaces = new Set();
|
|
820
820
|
const namespaceDeclarations = [];
|
|
821
|
-
for (const name of names) {
|
|
821
|
+
for (const name of Array.from(names).sort()) {
|
|
822
822
|
// Add the full name "foo.bar.baz" and its prototype ahead of time. We
|
|
823
823
|
// should never generate these as namespaces.
|
|
824
824
|
namespaces.add(name);
|
package/build/misspellings.txt
CHANGED
|
@@ -32,6 +32,9 @@ import subprocess
|
|
|
32
32
|
import sys
|
|
33
33
|
import time
|
|
34
34
|
|
|
35
|
+
import subprocessWindowsPatch
|
|
36
|
+
|
|
37
|
+
|
|
35
38
|
# Python 3 no longer has a separate unicode type. For type-checking done in
|
|
36
39
|
# get_node_binary, create an alias to the str type.
|
|
37
40
|
if sys.version_info[0] == 3:
|
|
@@ -212,8 +215,7 @@ def npm_version(is_dirty=False):
|
|
|
212
215
|
"""Gets the version of the library from NPM."""
|
|
213
216
|
try:
|
|
214
217
|
base = cygwin_safe_path(get_source_base())
|
|
215
|
-
|
|
216
|
-
cmd_line = [cmd, '--prefix', base, 'ls', 'shaka-player']
|
|
218
|
+
cmd_line = ['npm', '--prefix', base, 'ls', 'shaka-player']
|
|
217
219
|
text = execute_get_output(cmd_line).decode('utf8')
|
|
218
220
|
except subprocess.CalledProcessError as e:
|
|
219
221
|
text = e.output.decode('utf8')
|
|
@@ -335,10 +337,9 @@ def update_node_modules():
|
|
|
335
337
|
return True
|
|
336
338
|
|
|
337
339
|
base = cygwin_safe_path(get_source_base())
|
|
338
|
-
cmd = 'npm.cmd' if is_windows() else 'npm'
|
|
339
340
|
|
|
340
341
|
# Check the version of npm.
|
|
341
|
-
version = execute_get_output([
|
|
342
|
+
version = execute_get_output(['npm', '-v']).decode('utf8')
|
|
342
343
|
|
|
343
344
|
if _parse_version(version) < _parse_version('5.0.0'):
|
|
344
345
|
logging.error('npm version is too old, please upgrade. e.g.:')
|
|
@@ -351,7 +352,7 @@ def update_node_modules():
|
|
|
351
352
|
with InDir(base):
|
|
352
353
|
# npm update seems to be the wrong thing in npm v5, so use install.
|
|
353
354
|
# See google/shaka-player#854 for more details.
|
|
354
|
-
execute_get_output([
|
|
355
|
+
execute_get_output(['npm', 'install'])
|
|
355
356
|
|
|
356
357
|
# Update the timestamp of the file that tracks when we last updated.
|
|
357
358
|
open(_node_modules_last_update_path(), 'wb').close()
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Copyright 2021 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Monkeypatch subprocess on Windows to find .CMD scripts.
|
|
16
|
+
|
|
17
|
+
Without this patch, subprocess fails to find .CMD scripts on Windows, even
|
|
18
|
+
though these are executables and should be treated as such according to the
|
|
19
|
+
PATHEXT environment variable.
|
|
20
|
+
|
|
21
|
+
Many people "work around" this issue on Windows with subprocess's shell=True
|
|
22
|
+
argument, but this comes with a risk of shell injection vulnerabilities.
|
|
23
|
+
|
|
24
|
+
Another solution is to explicitly add ".CMD" to the end of some commands on
|
|
25
|
+
Windows, but this breaks portability and requires "if windows" to be scattered
|
|
26
|
+
around a codebase.
|
|
27
|
+
|
|
28
|
+
This monkeypatch allows the caller of subprocess to stop worrying about Windows
|
|
29
|
+
nuances and to go back to the security best practice of shell=False. Any .CMD
|
|
30
|
+
script that would be found by the Windows shell will now be found by
|
|
31
|
+
subprocess. And because we're using the standard Windows PATHEXT environment
|
|
32
|
+
variable, this can be extended to other types of executable scripts, as well.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
import os
|
|
36
|
+
import subprocess
|
|
37
|
+
import sys
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# NOTE: All of the higher-level methods eventually delegate to Popen, so we
|
|
41
|
+
# only patch that one method.
|
|
42
|
+
# run => Popen
|
|
43
|
+
# call => Popen
|
|
44
|
+
# check_call => call => Popen
|
|
45
|
+
# check_output => run => Popen
|
|
46
|
+
|
|
47
|
+
# These environment variables should almost certainly exist, but these are
|
|
48
|
+
# defaults in case they are missing.
|
|
49
|
+
DEFAULT_PATHEXT = '.COM;.EXE;.BAT;.CMD'
|
|
50
|
+
DEFAULT_PATH = r'C:\WINDOWS\system32;C:\WINDOWS'
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def resolve(exe):
|
|
54
|
+
"""Resolve a command name into a full path to the executable."""
|
|
55
|
+
|
|
56
|
+
if '/' in exe or '\\' in exe or ':' in exe:
|
|
57
|
+
# This is a path, so don't modify it.
|
|
58
|
+
return exe
|
|
59
|
+
|
|
60
|
+
if '.' in exe:
|
|
61
|
+
# This has an extension already. Don't search for an extension.
|
|
62
|
+
exe_names = [exe]
|
|
63
|
+
else:
|
|
64
|
+
# This is a command name without an extension, so check for every extension
|
|
65
|
+
# in PATHEXT.
|
|
66
|
+
extensions = os.environ.get('PATHEXT', DEFAULT_PATHEXT).split(';')
|
|
67
|
+
exe_names = [exe + ext for ext in extensions]
|
|
68
|
+
|
|
69
|
+
exe_paths = os.environ.get('PATH', DEFAULT_PATH).split(';')
|
|
70
|
+
|
|
71
|
+
for path in exe_paths:
|
|
72
|
+
for name in exe_names:
|
|
73
|
+
candidate = os.path.join(path, name)
|
|
74
|
+
if os.access(candidate, os.X_OK): # If executable
|
|
75
|
+
return candidate
|
|
76
|
+
|
|
77
|
+
# Failed to resolve, so return the original name and let Popen fail with a
|
|
78
|
+
# natural-looking error complaining that this command cannot be found.
|
|
79
|
+
return exe
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
real_Popen = subprocess.Popen
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def Popen(args, *more_args, **kwargs):
|
|
86
|
+
"""A patch to install over subprocess.Popen."""
|
|
87
|
+
|
|
88
|
+
# If the first argument is a list, resolve the command name, which is the
|
|
89
|
+
# first item in the list.
|
|
90
|
+
if isinstance(args, list):
|
|
91
|
+
args[0] = resolve(args[0])
|
|
92
|
+
|
|
93
|
+
# Delegate to the real Popen implementation.
|
|
94
|
+
return real_Popen(args, *more_args, **kwargs)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
# Only patch win32, but not cygwin. Cygwin works correctly already.
|
|
98
|
+
if sys.platform == 'win32':
|
|
99
|
+
# Patch over Popen.
|
|
100
|
+
subprocess.Popen = Popen
|
|
101
|
+
# Copy the docstring from the real Popen into the patch, so that
|
|
102
|
+
# help(subprocess.Popen) is still relatively sane with this patch installed.
|
|
103
|
+
Popen.__doc__ = real_Popen.__doc__
|
package/demo/common/assets.js
CHANGED
|
@@ -490,7 +490,7 @@ shakaAssets.testAssets = [
|
|
|
490
490
|
.addFeature(shakaAssets.Feature.MP4)
|
|
491
491
|
.addFeature(shakaAssets.Feature.SUBTITLES)
|
|
492
492
|
.addFeature(shakaAssets.Feature.LIVE)
|
|
493
|
-
.setIMAAssetKey('
|
|
493
|
+
.setIMAAssetKey('PSzZMzAkSXCmlJOWDmRj8Q'),
|
|
494
494
|
new ShakaDemoAssetInfo(
|
|
495
495
|
/* name= */ 'Tears of Steel (multicodec, surround + stereo)',
|
|
496
496
|
/* iconUri= */ 'https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png',
|
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}.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-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;margin:1px 6px;padding:0;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-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,rgba(0,0,0,0) 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:.5s
|
|
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}.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-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 6px;padding:0;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-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,rgba(0,0,0,0) 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:.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:7.8%;width:0;height:0;filter:drop-shadow(0 0 2px rgba(255, 255, 255, .5))}.shaka-play-button{box-sizing:border-box;padding:7.5%;width:0;height:0;margin:0;border-radius:50%;box-shadow:rgba(0,0,0,.1) 0 0 20px 0;border:none;background-size:50%;background-repeat:no-repeat;background-position:center center;background-color:rgba(255,255,255,.9);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:4px 6px;height:4px;border-radius:4px;background:#fff}.shaka-volume-bar-container{width:100px}.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:-4px;z-index:1}.shaka-range-element::-webkit-slider-runnable-track{width:100%;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%;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.
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
28
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
29
|
* SOFTWARE.
|
|
30
|
-
*/.shaka-spinner-svg{position:absolute;top:0;left:0;right:0;bottom:0;animation:rotate 2s linear infinite;transform-origin:center center;width:100%;height:100%;margin:0;padding:0}.shaka-spinner-path{stroke:#202124;stroke-dasharray:20,200;stroke-dashoffset:0;animation:dash 1s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.shaka-spacer{cursor:default;flex-shrink:1;flex-grow:1;margin:0}.shaka-overflow-menu,.shaka-settings-menu{overflow-x:hidden;overflow-y:auto;white-space:nowrap;background:#fff;box-shadow:0 1px 9px 0 rgba(0,0,0,.4);border-radius:2px;max-height:250px;min-width:180px;opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s;display:flex;flex-direction:column;position:absolute;z-index:2;right:15px;bottom:30px}.shaka-controls-container[casting=true] .shaka-overflow-menu,.shaka-controls-container[casting=true] .shaka-settings-menu,.shaka-controls-container[shown=true] .shaka-overflow-menu,.shaka-controls-container[shown=true] .shaka-settings-menu{opacity:1}.shaka-overflow-menu button,.shaka-settings-menu button{font-size:14px;background:0 0;color:#000;border:none;min-height:30px;padding:3.5px 6px;display:flex;align-items:center;cursor:pointer}.shaka-overflow-menu button:hover,.shaka-settings-menu button:hover{background:#e0e0e0}.shaka-overflow-menu button label,.shaka-settings-menu button label{cursor:pointer}.shaka-keyboard-navigation .shaka-overflow-menu button:focus,.shaka-keyboard-navigation .shaka-settings-menu button:focus{background:#e0e0e0}.shaka-overflow-menu i,.shaka-settings-menu i{padding-left:10px;padding-right:10px}.shaka-overflow-menu.shaka-low-position,.shaka-settings-menu.shaka-low-position{bottom:15px}.shaka-overflow-menu span{text-align:left}.shaka-overflow-button-label{position:relative;display:flex;flex-direction:column}.shaka-current-selection-span{color:rgba(0,0,0,.54)}.shaka-settings-menu span{margin-left:54px}.shaka-back-to-overflow-button span{margin-left:0}.shaka-back-to-overflow-button i{padding-right:20px}.shaka-auto-span{left:17px}.shaka-captions-on{color:#000}.shaka-captions-off{color:grey}.shaka-controls-container[ad-active=true]{pointer-events:none}.shaka-controls-container[ad-active=true] .shaka-bottom-controls{pointer-events:auto}.shaka-client-side-ad-container,.shaka-server-side-ad-container{position:absolute;left:0;right:0;top:0;bottom:0}.shaka-video-container[shaka-controls=true] .shaka-client-side-ad-container iframe,.shaka-video-container[shaka-controls=true] .shaka-server-side-ad-container iframe{height:90%}.shaka-server-side-ad-container{width:100%;height:100%;flex-shrink:1}.shaka-server-side-ad-container:not([ad-active=true]){pointer-events:none}.shaka-ad-controls{display:flex;flex-direction:row;z-index:1;padding-bottom:1%}.shaka-video-container:not([shaka-controls=true]) .shaka-ad-controls{display:none}.shaka-ad-controls button,.shaka-ad-controls div{color:#fff;font-size:initial}.shaka-ad-controls div:not(.shaka-skip-ad-counter){margin:1px 6px}.shaka-ad-counter,.shaka-ad-position{display:flex;justify-content:flex-end;flex-direction:column;text-shadow:1px 1px 4px #000}.shaka-skip-ad-container{position:relative;right:-2%;display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0,0,0,.7);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0,0,0,.3)}.shaka-skip-ad-counter{padding:5px 5px;background:rgba(0,0,0,.7);margin:0}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/
|
|
30
|
+
*/.shaka-spinner-svg{position:absolute;top:0;left:0;right:0;bottom:0;animation:rotate 2s linear infinite;transform-origin:center center;width:100%;height:100%;margin:0;padding:0}.shaka-spinner-path{stroke:#202124;stroke-dasharray:20,200;stroke-dashoffset:0;animation:dash 1s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.shaka-spacer{cursor:default;flex-shrink:1;flex-grow:1;margin:0}.shaka-overflow-menu,.shaka-settings-menu{overflow-x:hidden;overflow-y:auto;white-space:nowrap;background:#fff;box-shadow:0 1px 9px 0 rgba(0,0,0,.4);border-radius:2px;max-height:250px;min-width:180px;opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s;display:flex;flex-direction:column;position:absolute;z-index:2;right:15px;bottom:30px}.shaka-controls-container[casting=true] .shaka-overflow-menu,.shaka-controls-container[casting=true] .shaka-settings-menu,.shaka-controls-container[shown=true] .shaka-overflow-menu,.shaka-controls-container[shown=true] .shaka-settings-menu{opacity:1}.shaka-overflow-menu button,.shaka-settings-menu button{font-size:14px;background:0 0;color:#000;border:none;min-height:30px;padding:3.5px 6px;display:flex;align-items:center;cursor:pointer}.shaka-overflow-menu button:hover,.shaka-settings-menu button:hover{background:#e0e0e0}.shaka-overflow-menu button label,.shaka-settings-menu button label{cursor:pointer}.shaka-keyboard-navigation .shaka-overflow-menu button:focus,.shaka-keyboard-navigation .shaka-settings-menu button:focus{background:#e0e0e0}.shaka-overflow-menu i,.shaka-settings-menu i{padding-left:10px;padding-right:10px}.shaka-overflow-menu.shaka-low-position,.shaka-settings-menu.shaka-low-position{bottom:15px}.shaka-overflow-menu span{text-align:left}.shaka-overflow-button-label{position:relative;display:flex;flex-direction:column}.shaka-current-selection-span{color:rgba(0,0,0,.54)}.shaka-settings-menu span{margin-left:54px}.shaka-back-to-overflow-button span{margin-left:0}.shaka-back-to-overflow-button i{padding-right:20px}.shaka-auto-span{left:17px}.shaka-captions-on{color:#000}.shaka-captions-off{color:grey}.shaka-controls-container[ad-active=true]{pointer-events:none}.shaka-controls-container[ad-active=true] .shaka-bottom-controls{pointer-events:auto}.shaka-client-side-ad-container,.shaka-server-side-ad-container{position:absolute;left:0;right:0;top:0;bottom:0}.shaka-video-container[shaka-controls=true] .shaka-client-side-ad-container iframe,.shaka-video-container[shaka-controls=true] .shaka-server-side-ad-container iframe{height:90%}.shaka-server-side-ad-container{width:100%;height:100%;flex-shrink:1}.shaka-server-side-ad-container:not([ad-active=true]){pointer-events:none}.shaka-ad-controls{display:flex;flex-direction:row;z-index:1;padding-bottom:1%}.shaka-video-container:not([shaka-controls=true]) .shaka-ad-controls{display:none}.shaka-ad-controls button,.shaka-ad-controls div{color:#fff;font-size:initial}.shaka-ad-controls div:not(.shaka-skip-ad-counter){margin:1px 6px}.shaka-ad-counter,.shaka-ad-position{display:flex;justify-content:flex-end;flex-direction:column;text-shadow:1px 1px 4px #000}.shaka-skip-ad-container{position:relative;right:-2%;display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0,0,0,.7);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0,0,0,.3)}.shaka-skip-ad-counter{padding:5px 5px;background:rgba(0,0,0,.7);margin:0}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/v94/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmM.otf) format('opentype')}.material-icons-round{font-family:'Material Icons Round';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr}/*# sourceMappingURL=controls.css.map */
|
package/dist/controls.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../ui/less/general.less","$stdin","../ui/less/containers.less","../ui/less/buttons.less","../ui/less/range_elements.less","../ui/less/spinner.less","../ui/less/other_elements.less","../ui/less/overflow_menu.less","../ui/less/ad_controls.less","../ui/https:/fonts.googleapis.com/css?family=Roboto","../ui/https:/fonts.googleapis.com/icon?family=Material+Icons+Round"],"names":[],"mappings":"AAqBA,cCNE,QDSA,eEZF,uBDwBE,SDgBA,SCPA,IDYA,EACA,KAAA,ECRA,QCjCA,KAGA,6CACE,YAAA,uBACA,UAAA,KAIF,yBACE,YAAA,eAAA,OAAA,WAsBkB,kCFrBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,wDDiCA,UC7BE,QAIkB,2CFtBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,iED4CA,UCxCE,QAKkB,wCFvBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,8DDuDA,UCnDE,QAMkB,sCFxBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,4DDkEA,UC9DE,QAoBJ,0BD2DE,SDtDA,SAGA,IAAA,EACA,KAAA,EACA,MAAA,EACA,OAAA,EACA,OAAA,EACA,QAAA,EAnDA,MAAA,KACA,OAAA,KE2CA,WAAA,WAGA,QAAA,KAGA,eAAA,OAGA,gBAAA,SAGA,YAAA,ODsEA,QC9DA,EF+BoD,4EAzGpD,QAAA,KEsEA,4BFUA,YAAA,EEFE,iEF9EF,QAAA,KEsFF,uBACE,MAAA,IACA,QAAA,EACA,eAAA,KDsEA,QC/DA,EAMF,6BAEE,QAAA,EACA,OAAA,EAGA,QAAA,KACA,eAAA,IAGA,gBAAA,SAGA,YAAA,OAGA,SAAA,OACA,UAAA,KDgEA,UC5DA,KACA,YAAA,IACA,WAAA,OFpIA,YAAA,KACA,oBAAA,KACA,iBAAA,KACA,gBAAA,KA+FA,QAAA,EAGA,WAAA,QAAA,wBAAA,IAK0C,qEADF,mEAEtC,QAAA,EEkCA,+BAEA,MAAA,KAGA,OAAA,
|
|
1
|
+
{"version":3,"sources":["../ui/less/general.less","$stdin","../ui/less/containers.less","../ui/less/buttons.less","../ui/less/range_elements.less","../ui/less/spinner.less","../ui/less/other_elements.less","../ui/less/overflow_menu.less","../ui/less/ad_controls.less","../ui/https:/fonts.googleapis.com/css?family=Roboto","../ui/https:/fonts.googleapis.com/icon?family=Material+Icons+Round"],"names":[],"mappings":"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"}
|
|
@@ -204,7 +204,7 @@ shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shaka
|
|
|
204
204
|
(new ShakaDemoAssetInfo('"Dig the Uke" by Stefan Kartenberg (audio only, multicodec, Widevine)',"https://storage.googleapis.com/shaka-asset-icons/audio_only.png","https://storage.googleapis.com/shaka-demo-assets/dig-the-uke/dash.mpd",shakaAssets.Source.SHAKA)).addKeySystem(shakaAssets.KeySystem.WIDEVINE).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.AUDIO_ONLY).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE).addLicenseServer("com.widevine.alpha",
|
|
205
205
|
"https://cwip-shaka-proxy.appspot.com/no_auth"),(new ShakaDemoAssetInfo("Tears of Steel (multicodec, TTML)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SUBTITLES).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE),
|
|
206
206
|
(new ShakaDemoAssetInfo("Tears of Steel (HLS, Server Side ads)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos/hls.m3u8",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.HLS).addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.OFFLINE).setIMAContentSourceId("2528370").setIMAVideoId("tears-of-steel"),(new ShakaDemoAssetInfo("Tears of Steel (live, DASH, Server Side ads)",
|
|
207
|
-
"https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SUBTITLES).addFeature(shakaAssets.Feature.LIVE).setIMAAssetKey("
|
|
207
|
+
"https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SUBTITLES).addFeature(shakaAssets.Feature.LIVE).setIMAAssetKey("PSzZMzAkSXCmlJOWDmRj8Q"),(new ShakaDemoAssetInfo("Tears of Steel (multicodec, surround + stereo)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png",
|
|
208
208
|
"https://storage.googleapis.com/shaka-demo-assets/tos-surround/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SURROUND).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE),(new ShakaDemoAssetInfo("Tears of Steel (multicodec, surround + stereo, single skippable ad)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-surround/dash.mpd",
|
|
209
209
|
shakaAssets.Source.SHAKA)).setAdTagUri(shakaAssets.AdTag.SINGLE_SKIPPABLE_AD).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SURROUND).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE),(new ShakaDemoAssetInfo("Shaka Player History (multicodec, live, DASH)","https://storage.googleapis.com/shaka-asset-icons/shaka.png","https://storage.googleapis.com/shaka-live-assets/player-source.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.LIVE).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.WEBM),
|
|
210
210
|
(new ShakaDemoAssetInfo("Shaka Player History (live, HLS)","https://storage.googleapis.com/shaka-asset-icons/shaka.png","https://storage.googleapis.com/shaka-live-assets/player-source.m3u8",shakaAssets.Source.SHAKA)).addDescription("A self-indulgent HLS livestream.").markAsFeatured("Shaka Player History").addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.HLS).addFeature(shakaAssets.Feature.LIVE).addFeature(shakaAssets.Feature.MP4),(new ShakaDemoAssetInfo("Multi-DRM","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png",
|
package/dist/demo.compiled.js
CHANGED
|
@@ -204,7 +204,7 @@ shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shaka
|
|
|
204
204
|
(new ShakaDemoAssetInfo('"Dig the Uke" by Stefan Kartenberg (audio only, multicodec, Widevine)',"https://storage.googleapis.com/shaka-asset-icons/audio_only.png","https://storage.googleapis.com/shaka-demo-assets/dig-the-uke/dash.mpd",shakaAssets.Source.SHAKA)).addKeySystem(shakaAssets.KeySystem.WIDEVINE).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.AUDIO_ONLY).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE).addLicenseServer("com.widevine.alpha",
|
|
205
205
|
"https://cwip-shaka-proxy.appspot.com/no_auth"),(new ShakaDemoAssetInfo("Tears of Steel (multicodec, TTML)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SUBTITLES).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE),
|
|
206
206
|
(new ShakaDemoAssetInfo("Tears of Steel (HLS, Server Side ads)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos/hls.m3u8",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.HLS).addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.OFFLINE).setIMAContentSourceId("2528370").setIMAVideoId("tears-of-steel"),(new ShakaDemoAssetInfo("Tears of Steel (live, DASH, Server Side ads)",
|
|
207
|
-
"https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SUBTITLES).addFeature(shakaAssets.Feature.LIVE).setIMAAssetKey("
|
|
207
|
+
"https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SUBTITLES).addFeature(shakaAssets.Feature.LIVE).setIMAAssetKey("PSzZMzAkSXCmlJOWDmRj8Q"),(new ShakaDemoAssetInfo("Tears of Steel (multicodec, surround + stereo)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png",
|
|
208
208
|
"https://storage.googleapis.com/shaka-demo-assets/tos-surround/dash.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SURROUND).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE),(new ShakaDemoAssetInfo("Tears of Steel (multicodec, surround + stereo, single skippable ad)","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png","https://storage.googleapis.com/shaka-demo-assets/tos-surround/dash.mpd",
|
|
209
209
|
shakaAssets.Source.SHAKA)).setAdTagUri(shakaAssets.AdTag.SINGLE_SKIPPABLE_AD).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.SURROUND).addFeature(shakaAssets.Feature.WEBM).addFeature(shakaAssets.Feature.OFFLINE),(new ShakaDemoAssetInfo("Shaka Player History (multicodec, live, DASH)","https://storage.googleapis.com/shaka-asset-icons/shaka.png","https://storage.googleapis.com/shaka-live-assets/player-source.mpd",shakaAssets.Source.SHAKA)).addFeature(shakaAssets.Feature.DASH).addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.LIVE).addFeature(shakaAssets.Feature.MP4).addFeature(shakaAssets.Feature.WEBM),
|
|
210
210
|
(new ShakaDemoAssetInfo("Shaka Player History (live, HLS)","https://storage.googleapis.com/shaka-asset-icons/shaka.png","https://storage.googleapis.com/shaka-live-assets/player-source.m3u8",shakaAssets.Source.SHAKA)).addDescription("A self-indulgent HLS livestream.").markAsFeatured("Shaka Player History").addFeature(shakaAssets.Feature.HIGH_DEFINITION).addFeature(shakaAssets.Feature.HLS).addFeature(shakaAssets.Feature.LIVE).addFeature(shakaAssets.Feature.MP4),(new ShakaDemoAssetInfo("Multi-DRM","https://storage.googleapis.com/shaka-asset-icons/tears_of_steel.png",
|