@gcorevideo/player 2.25.10 → 2.26.1

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 (175) hide show
  1. package/dist/core.js +1 -60
  2. package/dist/index.css +851 -851
  3. package/dist/index.embed.js +50 -130
  4. package/dist/index.js +79 -230
  5. package/dist/player.d.ts +2798 -2785
  6. package/docs/api/player.bigmutebutton.md +0 -3
  7. package/docs/api/player.bottomgear.additem.md +0 -3
  8. package/docs/api/player.bottomgear.md +2 -5
  9. package/docs/api/player.bottomgear.refresh.md +0 -3
  10. package/docs/api/player.clapprstats._constructor_.md +0 -3
  11. package/docs/api/player.clapprstats.clearmetrics.md +0 -3
  12. package/docs/api/player.clapprstats.exportmetrics.md +1 -4
  13. package/docs/api/player.clapprstats.md +2 -7
  14. package/docs/api/player.clapprstatsbitratetrack.md +0 -3
  15. package/docs/api/player.clapprstatschronograph.md +0 -13
  16. package/docs/api/player.clapprstatscounter.md +0 -25
  17. package/docs/api/player.clapprstatsevents.md +1 -4
  18. package/docs/api/player.clapprstatsmetrics.md +0 -3
  19. package/docs/api/player.clapprstatssettings.md +1 -4
  20. package/docs/api/player.clapprstatssettings.runeach.md +0 -3
  21. package/docs/api/player.clicktopause.md +0 -3
  22. package/docs/api/player.clips.destroy.md +0 -3
  23. package/docs/api/player.clips.disable.md +0 -3
  24. package/docs/api/player.clips.enable.md +0 -3
  25. package/docs/api/player.clips.gettext.md +0 -3
  26. package/docs/api/player.clips.md +1 -16
  27. package/docs/api/player.clips.render.md +0 -3
  28. package/docs/api/player.clips.supportedversion.md +0 -3
  29. package/docs/api/player.clips.version.md +0 -3
  30. package/docs/api/player.clipspluginsettings.md +1 -4
  31. package/docs/api/player.clipspluginsettings.text.md +0 -3
  32. package/docs/api/player.closedcaptions.hide.md +0 -3
  33. package/docs/api/player.closedcaptions.md +6 -5
  34. package/docs/api/player.closedcaptions.show.md +0 -3
  35. package/docs/api/player.closedcaptionspluginsettings.md +0 -3
  36. package/docs/api/player.cmcdconfig._constructor_.md +0 -3
  37. package/docs/api/player.cmcdconfig.exportids.md +0 -3
  38. package/docs/api/player.cmcdconfig.md +2 -5
  39. package/docs/api/player.cmcdconfigoptions.contentid.md +0 -3
  40. package/docs/api/player.cmcdconfigoptions.md +2 -5
  41. package/docs/api/player.cmcdconfigoptions.sessionid.md +0 -3
  42. package/docs/api/player.dvrcontrols.md +0 -3
  43. package/docs/api/player.extendedevents.md +0 -7
  44. package/docs/api/player.favicon.md +0 -3
  45. package/docs/api/player.faviconpluginsettings.faviconcolor.md +0 -3
  46. package/docs/api/player.faviconpluginsettings.md +1 -4
  47. package/docs/api/player.gearevents.md +1 -4
  48. package/docs/api/player.md +24 -43
  49. package/docs/api/player.mediacontrol.defaultsettings.md +5 -1
  50. package/docs/api/player.mediacontrol.getavailablepopupheight.md +20 -0
  51. package/docs/api/player.mediacontrol.md +14 -0
  52. package/docs/api/player.menuoption.md +0 -3
  53. package/docs/api/player.nerdstats._constructor_.md +0 -3
  54. package/docs/api/player.nerdstats.md +1 -4
  55. package/docs/api/player.pictureinpicture.attributes.md +0 -3
  56. package/docs/api/player.pictureinpicture.md +2 -7
  57. package/docs/api/player.playbackrateoption.md +0 -3
  58. package/docs/api/player.playbackratesettings.md +0 -3
  59. package/docs/api/player.poster.disable.md +0 -3
  60. package/docs/api/player.poster.enable.md +0 -3
  61. package/docs/api/player.poster.md +2 -5
  62. package/docs/api/player.posterpluginsettings.custom.md +0 -3
  63. package/docs/api/player.posterpluginsettings.md +4 -7
  64. package/docs/api/player.posterpluginsettings.showfornoop.md +0 -3
  65. package/docs/api/player.posterpluginsettings.showonvideoend.md +0 -3
  66. package/docs/api/player.posterpluginsettings.url.md +0 -3
  67. package/docs/api/player.qualitylevels.events.md +0 -3
  68. package/docs/api/player.qualitylevels.md +0 -5
  69. package/docs/api/player.qualitylevelspluginsettings.labels.md +0 -3
  70. package/docs/api/player.qualitylevelspluginsettings.md +2 -5
  71. package/docs/api/player.qualitylevelspluginsettings.restrictresolution.md +0 -3
  72. package/docs/api/player.skiptime.container.md +0 -3
  73. package/docs/api/player.skiptime.md +0 -9
  74. package/docs/api/player.skiptime.name.md +0 -3
  75. package/docs/api/player.skiptime.supportedversion.md +0 -3
  76. package/docs/api/player.volumefadeevents.md +0 -5
  77. package/docs/api/player.volumefadesettings.md +0 -3
  78. package/docs/api/player.zeptoresult.md +0 -3
  79. package/lib/Player.d.ts.map +1 -1
  80. package/lib/Player.js +0 -29
  81. package/lib/playback/HTML5Video.d.ts.map +1 -1
  82. package/lib/playback/HTML5Video.js +0 -18
  83. package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
  84. package/lib/playback/dash-playback/DashPlayback.js +0 -10
  85. package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
  86. package/lib/playback/hls-playback/HlsPlayback.js +0 -2
  87. package/lib/plugins/big-mute-button/BigMuteButton.d.ts +1 -1
  88. package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
  89. package/lib/plugins/big-mute-button/BigMuteButton.js +1 -3
  90. package/lib/plugins/bottom-gear/BottomGear.d.ts +2 -2
  91. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  92. package/lib/plugins/bottom-gear/BottomGear.js +4 -8
  93. package/lib/plugins/clappr-nerd-stats/NerdStats.d.ts +1 -1
  94. package/lib/plugins/clappr-nerd-stats/NerdStats.d.ts.map +1 -1
  95. package/lib/plugins/clappr-nerd-stats/NerdStats.js +3 -5
  96. package/lib/plugins/clappr-stats/ClapprStats.d.ts +3 -3
  97. package/lib/plugins/clappr-stats/ClapprStats.js +2 -2
  98. package/lib/plugins/clappr-stats/types.d.ts +5 -5
  99. package/lib/plugins/clappr-stats/types.js +3 -3
  100. package/lib/plugins/click-to-pause/ClickToPause.d.ts +1 -1
  101. package/lib/plugins/click-to-pause/ClickToPause.d.ts.map +1 -1
  102. package/lib/plugins/click-to-pause/ClickToPause.js +3 -7
  103. package/lib/plugins/clips/Clips.d.ts +2 -2
  104. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  105. package/lib/plugins/clips/Clips.js +2 -6
  106. package/lib/plugins/cmcd-config/CmcdConfig.d.ts +2 -2
  107. package/lib/plugins/cmcd-config/CmcdConfig.js +1 -1
  108. package/lib/plugins/context-menu/ContextMenu.d.ts +1 -1
  109. package/lib/plugins/dvr-controls/DvrControls.d.ts +1 -1
  110. package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
  111. package/lib/plugins/dvr-controls/DvrControls.js +3 -4
  112. package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
  113. package/lib/plugins/error-screen/ErrorScreen.js +0 -3
  114. package/lib/plugins/favicon/Favicon.d.ts +2 -2
  115. package/lib/plugins/favicon/Favicon.js +1 -1
  116. package/lib/plugins/level-selector/QualityLevels.d.ts +2 -2
  117. package/lib/plugins/level-selector/QualityLevels.d.ts.map +1 -1
  118. package/lib/plugins/level-selector/QualityLevels.js +3 -11
  119. package/lib/plugins/media-control/MediaControl.d.ts +2 -5
  120. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  121. package/lib/plugins/media-control/MediaControl.js +4 -6
  122. package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +3 -3
  123. package/lib/plugins/picture-in-picture/PictureInPicture.js +3 -3
  124. package/lib/plugins/playback-rate/PlaybackRate.d.ts +2 -2
  125. package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
  126. package/lib/plugins/playback-rate/PlaybackRate.js +0 -10
  127. package/lib/plugins/poster/Poster.d.ts +2 -2
  128. package/lib/plugins/poster/Poster.d.ts.map +1 -1
  129. package/lib/plugins/poster/Poster.js +3 -19
  130. package/lib/plugins/seek-time/SeekTime.d.ts.map +1 -1
  131. package/lib/plugins/seek-time/SeekTime.js +1 -6
  132. package/lib/plugins/skip-time/SkipTime.d.ts +1 -1
  133. package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
  134. package/lib/plugins/skip-time/SkipTime.js +3 -15
  135. package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
  136. package/lib/plugins/source-controller/SourceController.js +0 -5
  137. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
  138. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +2 -18
  139. package/lib/plugins/subtitles/ClosedCaptions.d.ts +2 -2
  140. package/lib/plugins/subtitles/ClosedCaptions.js +1 -1
  141. package/lib/plugins/volume-fade/VolumeFade.d.ts +2 -2
  142. package/lib/plugins/volume-fade/VolumeFade.js +1 -1
  143. package/lib/types.d.ts +1 -1
  144. package/package.json +1 -1
  145. package/src/Player.ts +0 -29
  146. package/src/playback/HTML5Video.ts +0 -18
  147. package/src/playback/dash-playback/DashPlayback.ts +0 -11
  148. package/src/playback/hls-playback/HlsPlayback.ts +0 -3
  149. package/src/plugins/big-mute-button/BigMuteButton.ts +1 -4
  150. package/src/plugins/bottom-gear/BottomGear.ts +4 -8
  151. package/src/plugins/clappr-nerd-stats/NerdStats.ts +3 -5
  152. package/src/plugins/clappr-stats/ClapprStats.ts +3 -3
  153. package/src/plugins/clappr-stats/types.ts +5 -5
  154. package/src/plugins/click-to-pause/ClickToPause.ts +3 -8
  155. package/src/plugins/clips/Clips.ts +4 -7
  156. package/src/plugins/cmcd-config/CmcdConfig.ts +2 -2
  157. package/src/plugins/context-menu/ContextMenu.ts +1 -1
  158. package/src/plugins/dvr-controls/DvrControls.ts +3 -4
  159. package/src/plugins/error-screen/ErrorScreen.ts +0 -3
  160. package/src/plugins/favicon/Favicon.ts +2 -2
  161. package/src/plugins/level-selector/QualityLevels.ts +4 -12
  162. package/src/plugins/media-control/MediaControl.ts +4 -10
  163. package/src/plugins/picture-in-picture/PictureInPicture.ts +3 -3
  164. package/src/plugins/playback-rate/PlaybackRate.ts +2 -14
  165. package/src/plugins/poster/Poster.ts +4 -21
  166. package/src/plugins/seek-time/SeekTime.ts +2 -6
  167. package/src/plugins/skip-time/SkipTime.ts +3 -15
  168. package/src/plugins/source-controller/SourceController.ts +0 -5
  169. package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +2 -18
  170. package/src/plugins/subtitles/ClosedCaptions.ts +2 -2
  171. package/src/plugins/volume-fade/VolumeFade.ts +2 -2
  172. package/src/types.ts +1 -1
  173. package/temp/player.api.json +157 -152
  174. package/tsconfig.tsbuildinfo +1 -1
  175. package/docs/api/player.mediacontrolpluginsettings.md +0 -13
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## BigMuteButton class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  `PLUGIN` that displays a big mute button over the video when it's being played muted.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## BottomGear.addItem() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Adds a custom option to the gear menu
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## BottomGear class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  `PLUGIN` that adds a button to extend the media controls UI with extra options.
11
8
 
12
9
  **Signature:**
@@ -110,7 +107,7 @@ Description
110
107
 
111
108
  </td><td>
112
109
 
113
- **_(BETA)_** Adds a custom option to the gear menu
110
+ Adds a custom option to the gear menu
114
111
 
115
112
 
116
113
  </td></tr>
@@ -124,7 +121,7 @@ Description
124
121
 
125
122
  </td><td>
126
123
 
127
- **_(BETA)_** Collapses any submenu open back to the gear menu.
124
+ Collapses any submenu open back to the gear menu.
128
125
 
129
126
 
130
127
  </td></tr>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## BottomGear.refresh() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Collapses any submenu open back to the gear menu.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStats.(constructor)
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Constructs a new instance of the `ClapprStats` class
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStats.clearMetrics() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStats.exportMetrics() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Returns the collected metrics.
11
8
 
12
9
  **Signature:**
@@ -18,5 +15,5 @@ exportMetrics(): ClapprStatsMetrics;
18
15
 
19
16
  [ClapprStatsMetrics](./player.clapprstatsmetrics.md)
20
17
 
21
- Measurements collected so far
18
+ [Measurements](./player.clapprstatsmetrics.md) collected so far
22
19
 
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStats class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  `PLUGIN` that measures data about playback, which can be useful for analyzing performance and UX.
11
8
 
12
9
  **Signature:**
@@ -48,7 +45,7 @@ Description
48
45
 
49
46
  </td><td>
50
47
 
51
- **_(BETA)_** Constructs a new instance of the `ClapprStats` class
48
+ Constructs a new instance of the `ClapprStats` class
52
49
 
53
50
 
54
51
  </td></tr>
@@ -82,8 +79,6 @@ Description
82
79
 
83
80
  </td><td>
84
81
 
85
- **_(BETA)_**
86
-
87
82
 
88
83
  </td></tr>
89
84
  <tr><td>
@@ -96,7 +91,7 @@ Description
96
91
 
97
92
  </td><td>
98
93
 
99
- **_(BETA)_** Returns the collected metrics.
94
+ Returns the collected metrics.
100
95
 
101
96
 
102
97
  </td></tr>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsBitrateTrack type
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
 
11
8
  **Signature:**
12
9
 
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsChronograph enum
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
 
11
8
  **Signature:**
12
9
 
@@ -44,8 +41,6 @@ Buffering
44
41
 
45
42
  </td><td>
46
43
 
47
- **_(BETA)_**
48
-
49
44
 
50
45
  </td></tr>
51
46
  <tr><td>
@@ -60,8 +55,6 @@ Pause
60
55
 
61
56
  </td><td>
62
57
 
63
- **_(BETA)_**
64
-
65
58
 
66
59
  </td></tr>
67
60
  <tr><td>
@@ -76,8 +69,6 @@ Session
76
69
 
77
70
  </td><td>
78
71
 
79
- **_(BETA)_**
80
-
81
72
 
82
73
  </td></tr>
83
74
  <tr><td>
@@ -92,8 +83,6 @@ Startup
92
83
 
93
84
  </td><td>
94
85
 
95
- **_(BETA)_**
96
-
97
86
 
98
87
  </td></tr>
99
88
  <tr><td>
@@ -108,8 +97,6 @@ Watch
108
97
 
109
98
  </td><td>
110
99
 
111
- **_(BETA)_**
112
-
113
100
 
114
101
  </td></tr>
115
102
  </tbody></table>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsCounter enum
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
 
11
8
  **Signature:**
12
9
 
@@ -44,8 +41,6 @@ Buffering
44
41
 
45
42
  </td><td>
46
43
 
47
- **_(BETA)_**
48
-
49
44
 
50
45
  </td></tr>
51
46
  <tr><td>
@@ -60,8 +55,6 @@ ChangeLevel
60
55
 
61
56
  </td><td>
62
57
 
63
- **_(BETA)_**
64
-
65
58
 
66
59
  </td></tr>
67
60
  <tr><td>
@@ -76,8 +69,6 @@ DecodedFrames
76
69
 
77
70
  </td><td>
78
71
 
79
- **_(BETA)_**
80
-
81
72
 
82
73
  </td></tr>
83
74
  <tr><td>
@@ -92,8 +83,6 @@ DroppedFrames
92
83
 
93
84
  </td><td>
94
85
 
95
- **_(BETA)_**
96
-
97
86
 
98
87
  </td></tr>
99
88
  <tr><td>
@@ -108,8 +97,6 @@ DvrUsage
108
97
 
109
98
  </td><td>
110
99
 
111
- **_(BETA)_**
112
-
113
100
 
114
101
  </td></tr>
115
102
  <tr><td>
@@ -124,8 +111,6 @@ Error
124
111
 
125
112
  </td><td>
126
113
 
127
- **_(BETA)_**
128
-
129
114
 
130
115
  </td></tr>
131
116
  <tr><td>
@@ -140,8 +125,6 @@ Fps
140
125
 
141
126
  </td><td>
142
127
 
143
- **_(BETA)_**
144
-
145
128
 
146
129
  </td></tr>
147
130
  <tr><td>
@@ -156,8 +139,6 @@ Fullscreen
156
139
 
157
140
  </td><td>
158
141
 
159
- **_(BETA)_**
160
-
161
142
 
162
143
  </td></tr>
163
144
  <tr><td>
@@ -172,8 +153,6 @@ Pause
172
153
 
173
154
  </td><td>
174
155
 
175
- **_(BETA)_**
176
-
177
156
 
178
157
  </td></tr>
179
158
  <tr><td>
@@ -188,8 +167,6 @@ Play
188
167
 
189
168
  </td><td>
190
169
 
191
- **_(BETA)_**
192
-
193
170
 
194
171
  </td></tr>
195
172
  <tr><td>
@@ -204,8 +181,6 @@ Seek
204
181
 
205
182
  </td><td>
206
183
 
207
- **_(BETA)_**
208
-
209
184
 
210
185
  </td></tr>
211
186
  </tbody></table>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsEvents enum
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
 
11
8
  **Signature:**
12
9
 
@@ -44,7 +41,7 @@ REPORT
44
41
 
45
42
  </td><td>
46
43
 
47
- **_(BETA)_** Emitted periodically with current measurements.
44
+ Emitted periodically with current measurements.
48
45
 
49
46
 
50
47
  </td></tr>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsMetrics type
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
 
11
8
  **Signature:**
12
9
 
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsSettings interface
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Config options for the [ClapprStats](./player.clapprstats.md) plugin
11
8
 
12
9
  **Signature:**
@@ -53,7 +50,7 @@ number
53
50
 
54
51
  </td><td>
55
52
 
56
- **_(BETA)_** _(Optional)_ The interval in milliseconds of periodic measurements. The plugin will emit a [ClapprStatsEvents.REPORT](./player.clapprstatsevents.md) event with the collected metrics at the specified interval.
53
+ _(Optional)_ The interval in milliseconds of periodic measurements. The plugin will emit a [ClapprStatsEvents.REPORT](./player.clapprstatsevents.md) event with the collected metrics at the specified interval.
57
54
 
58
55
 
59
56
  </td></tr>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClapprStatsSettings.runEach property
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  The interval in milliseconds of periodic measurements. The plugin will emit a [ClapprStatsEvents.REPORT](./player.clapprstatsevents.md) event with the collected metrics at the specified interval.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClickToPause class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  A small `PLUGIN` that toggles the playback state on click over the video container
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.destroy() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.disable() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.enable() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.getText() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Get the text of the clip at the given time
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  `PLUGIN` that allows marking up the timeline of the video
11
8
 
12
9
  **Signature:**
@@ -66,8 +63,6 @@ Description
66
63
 
67
64
  </td><td>
68
65
 
69
- **_(BETA)_**
70
-
71
66
 
72
67
  </td></tr>
73
68
  <tr><td>
@@ -87,8 +82,6 @@ string
87
82
 
88
83
  </td><td>
89
84
 
90
- **_(BETA)_**
91
-
92
85
 
93
86
  </td></tr>
94
87
  </tbody></table>
@@ -121,8 +114,6 @@ Description
121
114
 
122
115
  </td><td>
123
116
 
124
- **_(BETA)_**
125
-
126
117
 
127
118
  </td></tr>
128
119
  <tr><td>
@@ -135,8 +126,6 @@ Description
135
126
 
136
127
  </td><td>
137
128
 
138
- **_(BETA)_**
139
-
140
129
 
141
130
  </td></tr>
142
131
  <tr><td>
@@ -149,8 +138,6 @@ Description
149
138
 
150
139
  </td><td>
151
140
 
152
- **_(BETA)_**
153
-
154
141
 
155
142
  </td></tr>
156
143
  <tr><td>
@@ -163,7 +150,7 @@ Description
163
150
 
164
151
  </td><td>
165
152
 
166
- **_(BETA)_** Get the text of the clip at the given time
153
+ Get the text of the clip at the given time
167
154
 
168
155
 
169
156
  </td></tr>
@@ -177,8 +164,6 @@ Description
177
164
 
178
165
  </td><td>
179
166
 
180
- **_(BETA)_**
181
-
182
167
 
183
168
  </td></tr>
184
169
  </tbody></table>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.render() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.supportedVersion property
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## Clips.version property
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  **Signature:**
11
8
 
12
9
  ```typescript
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClipsPluginSettings interface
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Configuration options for the [Clips](./player.clips.md) plugin.
11
8
 
12
9
  **Signature:**
@@ -53,7 +50,7 @@ string
53
50
 
54
51
  </td><td>
55
52
 
56
- **_(BETA)_** The compiled text of the clips description, one clip per line in format: `HH:MM:SS text` or `MM:SS text` or `SS text`
53
+ The compiled text of the clips description, one clip per line in format: `HH:MM:SS text` or `MM:SS text` or `SS text`
57
54
 
58
55
 
59
56
  </td></tr>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClipsPluginSettings.text property
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  The compiled text of the clips description, one clip per line in format: `HH:MM:SS text` or `MM:SS text` or `SS text`
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClosedCaptions.hide() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Hides the subtitles menu and the subtitles.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClosedCaptions class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  `PLUGIN` that provides a UI to select the subtitles when available.
11
8
 
12
9
  **Signature:**
@@ -26,6 +23,10 @@ Depends on:
26
23
 
27
24
  Configuration options - [ClosedCaptionsPluginSettings](./player.closedcaptionspluginsettings.md)
28
25
 
26
+ Known issues:
27
+
28
+ 1. When media source changes, the subtitles tracks aren't reloaded. Possible solution: use `playback.recycleVideo = false` [main config option](./player.playerconfig.md)<!-- -->, which will force new video element creation every time media source changes. However, this may lead to other issues, such as autoplay not working (after media source has been changed). [related discussion](https://github.com/video-dev/hls.js/issues/2198)
29
+
29
30
  ## Example
30
31
 
31
32
 
@@ -70,7 +71,7 @@ Description
70
71
 
71
72
  </td><td>
72
73
 
73
- **_(BETA)_** Hides the subtitles menu and the subtitles.
74
+ Hides the subtitles menu and the subtitles.
74
75
 
75
76
 
76
77
  </td></tr>
@@ -84,7 +85,7 @@ Description
84
85
 
85
86
  </td><td>
86
87
 
87
- **_(BETA)_** Shows the subtitles menu and the subtitles.
88
+ Shows the subtitles menu and the subtitles.
88
89
 
89
90
 
90
91
  </td></tr>
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClosedCaptions.show() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Shows the subtitles menu and the subtitles.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## ClosedCaptionsPluginSettings type
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Configuration options for the [ClosedCaptions](./player.closedcaptions.md) plugin.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## CmcdConfig.(constructor)
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Constructs a new instance of the `CmcdConfig` class
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## CmcdConfig.exportIds() method
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  Returns the current `sid` and `cid` values. Useful when the auto-generated values need to be known.
11
8
 
12
9
  **Signature:**
@@ -4,9 +4,6 @@
4
4
 
5
5
  ## CmcdConfig class
6
6
 
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
7
  A `PLUGIN` that configures [CMCD](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf) for playback
11
8
 
12
9
  **Signature:**
@@ -64,7 +61,7 @@ Description
64
61
 
65
62
  </td><td>
66
63
 
67
- **_(BETA)_** Constructs a new instance of the `CmcdConfig` class
64
+ Constructs a new instance of the `CmcdConfig` class
68
65
 
69
66
 
70
67
  </td></tr>
@@ -98,7 +95,7 @@ Description
98
95
 
99
96
  </td><td>
100
97
 
101
- **_(BETA)_** Returns the current `sid` and `cid` values. Useful when the auto-generated values need to be known.
98
+ Returns the current `sid` and `cid` values. Useful when the auto-generated values need to be known.
102
99
 
103
100
 
104
101
  </td></tr>